ptg10805159
Appendix A Function Prototypes 863
int lio_listio(intmode,
struct aiocb *restrict const list[restrict],
int nent,struct sigevent *restrictsigev);
<aio.h> p. 515
mode:LIO_NOWAIT, LIO_WAIT
Returns: 0 if OK,−1 on error
int listen(intsockfd,intbacklog);
<sys/socket.h> p. 608
Returns: 0 if OK,−1 on error
struct
tm *localtime(const time_t *calptr);
<time.h> p. 192
Returns: pointer to broken-down time,NULLon error
void longjmp(jmp_bufenv,intval);
<setjmp.h> p. 215
This function never returns
off_t lseek(intfd,off_toffset,intwhence);
<unistd.h> p. 67
whence:SEEK_SET, SEEK_CUR, SEEK_END
Returns: new file offset if OK,−1 on error
int lstat(const char *restrictpath,
struct stat *restrictbuf);
<sys/stat.h> p. 93
Returns: 0 if OK,−1 on error
void *malloc(size_tsize);
<stdlib.h> p. 207
Returns: non-null pointer if OK,NULLon error
int mkdir(const char *path,mode_tmode);
<sys/stat.h> p. 129
mode:S_IS[UG]ID, S_ISVTX,
S_I[RWX](USR|GRP|OTH)
Returns: 0 if OK,−1 on error
int mkdirat(intfd,const char *path,mode_tmode);
<sys/stat.h> p. 129
mode:S_IS[UG]ID, S_ISVTX,
S_I[RWX](USR|GRP|OTH)
Returns: 0 if OK,−1 on error