ptg10805159882 Function Prototypes Appendix A
int seteuid(uid_tuid);
<unistd.h> p. 258
Returns: 0 if OK,−1 on errorint setgid(gid_tgid);
<unistd.h> p. 256
Returns: 0 if OK,−1 on errorvoid setgrent(void);
<grp.h> p. 183int setgroups(intngroups,const gid_tgrouplist[]);
<grp.h> /* Linux */ p. 184
<unistd.h> /* FreeBSD, Mac OS X, and Solaris */
Returns: 0 if OK,−1 on errorvoid sethostent(intstayopen);
<netdb.h> p. 597int setjmp(jmp_buf env);
<setjmp.h> p. 215
Returns: 0 if called directly,nonzero if returning from
acall tolongjmpint setlogmask(intmaskpri);
<syslog.h> p. 470
Returns: previous log priority mask valuevoid setnetent(intstayopen);
<netdb.h> p. 598int setpgid(pid_tpid,pid_tpgid);
<unistd.h> p. 294
Returns: 0 if OK,−1 on errorint setpriority(intwhich,id_twho,intvalue);
<sys/resource.h> p. 277
which:PRIO_PROCESS, PRIO_PGRP, PRIO_USER
Returns: 0 if OK,−1 on errorvoid setprotoent(intstayopen);
<netdb.h> p. 598void setpwent(void);
<pwd.h> p. 180