summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-09-18 17:18:42 +0000
committerpfg <pfg@FreeBSD.org>2014-09-18 17:18:42 +0000
commitdf3aac1cc50f57af1c03165c6350899748c1f213 (patch)
treeb1e27dbb76f5171463e50e519f767e4d2117d4e0 /include
parent151963c738ec787c3536e6c2ff16d596528879a9 (diff)
downloadFreeBSD-src-df3aac1cc50f57af1c03165c6350899748c1f213.zip
FreeBSD-src-df3aac1cc50f57af1c03165c6350899748c1f213.tar.gz
unistd: move setpgrp(2) to the __BSD_VISIBLE section
Our setpgrp(2) differs from the specified by POSIX, which only has one argument, and is only meant for compatibility with BSD. Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/setpgrp.html Pointed-out in: openbsd-tech (2014-09-16) MFC after: 6 weeks
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index f1913b6..4ff516c 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -453,7 +453,6 @@ int encrypt(char *, int);
long gethostid(void);
int lockf(int, int, off_t);
int nice(int);
-int setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */
int setregid(gid_t, gid_t);
int setreuid(uid_t, uid_t);
@@ -567,6 +566,7 @@ int setkey(const char *);
int setlogin(const char *);
int setloginclass(const char *);
void *setmode(const char *);
+int setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */
void setproctitle(const char *_fmt, ...) __printf0like(1, 2);
int setresgid(gid_t, gid_t, gid_t);
int setresuid(uid_t, uid_t, uid_t);
OpenPOWER on IntegriCloud