@@ -55,11 +55,11 @@ setpgid, getpgid, setpgrp, getpgrp \- set/get process group
.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
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> --- man2/setpgid.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)