[PATCH] getsid.2: deduplicate getsid(0) case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 man2/getsid.2 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/man2/getsid.2 b/man2/getsid.2
index 7046bfc09..a80aa128e 100644
--- a/man2/getsid.2
+++ b/man2/getsid.2
@@ -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 .
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux