]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getsid.2: deduplicate getsid(0) case
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Thu, 28 Jul 2022 17:57:51 +0000 (19:57 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Thu, 28 Jul 2022 23:00:06 +0000 (01:00 +0200)
The first sentence in
  getsid(0) returns the session ID of the calling process.
  getsid() returns the session ID of the process with process ID pid.
  If pid is 0, getsid() returns the session ID of the calling process.
blames to beginning of git, duplicates the third one,
and doesn't stylistically match current formatting

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/getsid.2

index 7046bfc097ae840152217494786250e783785b2d..a80aa128e8c105aaa24ddc4162485010b3015892 100644 (file)
@@ -30,8 +30,6 @@ Feature Test Macro Requirements for glibc (see
         || /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L
 .fi
 .SH DESCRIPTION
-.I getsid(0)
-returns the session ID of the calling process.
 .BR getsid ()
 returns the session ID of the process with process ID
 .IR pid .