2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c2/writev.c File Reference


Detailed Description

writev test program [Sec. 2.15 (not in book)]

Definition in file writev.c.

Go to the source code of this file.

Defines

#define REPS   50000
#define PIECES   16
#define PIECE_SIZE   200

Functions

int main (void)


Define Documentation

#define PIECE_SIZE   200
 

Definition at line 26 of file writev.c.

Referenced by main().

#define PIECES   16
 

Definition at line 25 of file writev.c.

Referenced by main().

#define REPS   50000
 

Definition at line 24 of file writev.c.


Function Documentation

int main void   ) 
 

Definition at line 28 of file writev.c.

References close(), EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, ec_null, exit(), iovec::iov_base, iovec::iov_len, lseek(), open(), PERM_FILE, PIECE_SIZE, PIECES, readv(), REPS, syserr(), timestart(), timestop(), write(), and writev().


Generated on Fri Apr 23 10:57:07 2004 for AUP2 Example Source by doxygen 1.3.1