summaryrefslogtreecommitdiffstats
path: root/man3/getdtablesize.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getdtablesize.3')
-rw-r--r--man3/getdtablesize.327
1 files changed, 13 insertions, 14 deletions
diff --git a/man3/getdtablesize.3 b/man3/getdtablesize.3
index b49a977f2..40b940fbb 100644
--- a/man3/getdtablesize.3
+++ b/man3/getdtablesize.3
@@ -5,7 +5,7 @@
.\"
.\" Modified 2002-04-15 by Roger Luethi <rl@hellgate.ch> and aeb
.\"
-.TH getdtablesize 3 2023-02-05 "Linux man-pages 6.03"
+.TH getdtablesize 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
getdtablesize \- get file descriptor table size
.SH LIBRARY
@@ -48,29 +48,19 @@ see NOTES below.
.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 getdtablesize ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
-.SH STANDARDS
-SVr4, 4.4BSD (the
-.BR getdtablesize ()
-function first appeared in 4.2BSD).
-It is not specified in POSIX.1;
-portable applications should employ
-.I sysconf(_SC_OPEN_MAX)
-instead of this call.
-.SH NOTES
+.SH VERSIONS
The glibc version of
.BR getdtablesize ()
calls
@@ -83,6 +73,15 @@ when that fails.
.\" The libc4 and libc5 versions return
.\" .B OPEN_MAX
.\" (set to 256 since Linux 0.98.4).
+.PP
+Portable applications should employ
+.I sysconf(_SC_OPEN_MAX)
+instead of this call.
+.SH STANDARDS
+None.
+.SH HISTORY
+SVr4, 4.4BSD
+(first appeared in 4.2BSD).
.SH SEE ALSO
.BR close (2),
.BR dup (2),