summaryrefslogtreecommitdiffstats
path: root/man3/tcgetsid.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/tcgetsid.3')
-rw-r--r--man3/tcgetsid.318
1 files changed, 8 insertions, 10 deletions
diff --git a/man3/tcgetsid.3 b/man3/tcgetsid.3
index 8e78838b6..4fb349c90 100644
--- a/man3/tcgetsid.3
+++ b/man3/tcgetsid.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH tcgetsid 3 2022-12-15 "Linux man-pages 6.03"
+.TH tcgetsid 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
tcgetsid \- get session ID
.SH LIBRARY
@@ -44,29 +44,27 @@ is not a valid file descriptor.
The calling process does not have a controlling terminal, or
it has one but it is not described by
.IR fd .
-.SH VERSIONS
-.BR tcgetsid ()
-is provided since glibc 2.1.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR tcgetsid ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008.
-.SH NOTES
+POSIX.1-2008.
+.SH HISTORY
+glibc 2.1.
+POSIX.1-2001.
+.PP
This function is implemented via the
.B TIOCGSID
.BR ioctl (2),