ptg10805159
Appendix A Function Prototypes 847
int bind(intsockfd,const struct sockaddr *addr,socklen_tlen);
<sys/socket.h> p. 604
Returns: 0 if OK,−1 on error
void *calloc(size_tnobj,size_tsize);
<stdlib.h> p. 207
Returns: non-null pointer if OK,NULLon error
speed_t cfgetispeed(const struct termios *termptr);
<termios.h> p. 692
Returns: baud rate value
speed_t cfgetospeed(const struct termios *termptr);
<termios.h> p. 692
Returns: baud rate value
int cfsetispeed(struct termios *termptr,speed_tspeed);
<termios.h> p. 692
Returns: 0 if OK,−1 on error
int cfsetospeed(struct termios *termptr,speed_tspeed);
<termios.h> p. 692
Returns: 0 if OK,−1 on error
int chdir(const char *path);
<unistd.h> p. 135
Returns: 0 if OK,−1 on error
int chmod(const char *path,mode_tmode);
<sys/stat.h> p. 106
mode:S_IS[UG]ID, S_ISVTX,
S_I[RWX](USR|GRP|OTH)
Returns: 0 if OK,−1 on error
int chown(const char *path,uid_towner,gid_tgroup);
<unistd.h> p. 109
Returns: 0 if OK,−1 on error
void clearerr(FILE *fp);
<stdio.h> p. 151
int clock_getres(clockid_tclock_id,struct timespec *tsp);
<sys/time.h> p. 190
clock_id:CLOCK_REALTIME, CLOCK_MONOTONIC,
CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID
Returns: 0 if OK,−1 on error