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  

c3/sio.c File Reference


Detailed Description

sio (used with feed) [Sec. 3.9.8]

Definition in file sio.c.

Go to the source code of this file.

Defines

#define PATH   "/aup/c3/datafile.txt"
#define FREQ   8000

Functions

void synchronous (void)
void asynchronous (void)
int main (void)


Define Documentation

#define FREQ   8000
 

Definition at line 36 of file sio.c.

Referenced by aio_test(), asynchronous(), and synchronous().

#define PATH   "/aup/c3/datafile.txt"
 

Definition at line 35 of file sio.c.

Referenced by aio_test(), asynchronous(), and synchronous().


Function Documentation

void asynchronous void   )  [static]
 

Definition at line 63 of file sio.c.

References aiocb::aio_buf, aio_error(), aiocb::aio_fildes, aiocb::aio_nbytes, aio_read(), aiocb::aio_sigevent, aio_suspend(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, ec_rv, FREQ, open(), PATH, read(), sigevent::sigev_notify, timestart(), and timestop().

Referenced by main().

int main void   ) 
 

Definition at line 100 of file sio.c.

References asynchronous(), exit(), and synchronous().

void synchronous void   )  [static]
 

Definition at line 38 of file sio.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, FREQ, open(), PATH, read(), timestart(), and timestop().

Referenced by main().


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