summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-29 02:55:17 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 02:53:52 +0200
commit521b49cd62c4c9e3f1c869c57815315cb8e46a03 (patch)
treec0a64265d8174a5f01e69027fd110405e16a50a4
parentdade1ace728fbb206225de6126575f907b353334 (diff)
setpgid.2: SYNOPSIS: Mark BSD versions of getpgrp() and setpgrp() as [[deprecated]]
The BSD version of getpgrp(2) was superseeded by the POSIX one. The BSD version of setpgrp(2) was superseeded by the POSIX one. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/setpgid.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/setpgid.2 b/man2/setpgid.2
index b932a5442..b23da4fe7 100644
--- a/man2/setpgid.2
+++ b/man2/setpgid.2
@@ -30,11 +30,11 @@ Standard C library
.BI "int setpgid(pid_t " pid ", pid_t " pgid );
.BI "pid_t getpgid(pid_t " pid );
.PP
-.BR "pid_t getpgrp(void);" " /* POSIX.1 version */"
-.BI "pid_t getpgrp(pid_t " pid ");\fR /* BSD version */"
+.BR "pid_t getpgrp(void);" " /* POSIX.1 version */"
+.BI "[[deprecated]] pid_t getpgrp(pid_t " pid ");\fR /* BSD version */"
.PP
-.BR "int setpgrp(void);" " /* System V version */"
-.BI "int setpgrp(pid_t " pid ", pid_t " pgid ");\fR /* BSD version */"
+.BR "int setpgrp(void);" " /* System V version */"
+.BI "[[deprecated]] int setpgrp(pid_t " pid ", pid_t " pgid ");\fR /* BSD version */"
.fi
.PP
.RS -4