ptg10805159
846 Function Prototypes Appendix A
int access(const char *path,intmode);
<unistd.h> p. 102
mode:R_OK, W_OK, X_OK, F_OK
Returns: 0 if OK,−1 on error
int aio_cancel(intfd,struct aiocb *aiocb);
<aio.h> p. 514
Returns:AIO_ALLDONE,AIO_CANCELED,
AIO_NOTCANCELED,or−1 on error
int aio_error(const struct aiocb *aiocb);
<aio.h> p. 513
Returns: 0 if operation succeeded,EINPROGRESSif
operation is still in progress, error code if
operation failed, or−1 on error
int aio_fsync(intop,struct aiocb *aiocb);
<aio.h> p. 513
Returns: 0 if OK,−1 on error
int aio_read(struct aiocb *aiocb);
<aio.h> p. 512
Returns: 0 if OK,−1 on error
ssize_t aio_return(const struct aiocb *aiocb);
<aio.h> p. 513
Returns: result of asynchronous operation,−1 on error
int aio_suspend(const struct aiocb *constlist[], intnent,
const struct timespec *timeout);
<aio.h> p. 514
Returns: 0 if OK,−1 on error
int aio_write(struct aiocb *aiocb);
<aio.h> p. 512
Returns: 0 if OK,−1 on error
unsigned
int alarm(unsigned intseconds);
<unistd.h> p. 338
Returns: 0 or number of seconds until previously set alarm
int atexit(void (*func)(void));
<stdlib.h> p. 200
Returns: 0 if OK, nonzero on error