aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/MB_CUR_MAX.32
-rw-r--r--man/man3/_Fork.329
-rw-r--r--man/man3/ftime.32
-rw-r--r--man/man3/getenv.36
-rw-r--r--man/man3/ptsname.315
5 files changed, 41 insertions, 13 deletions
diff --git a/man/man3/MB_CUR_MAX.3 b/man/man3/MB_CUR_MAX.3
index 4ed552ca70..662f750c33 100644
--- a/man/man3/MB_CUR_MAX.3
+++ b/man/man3/MB_CUR_MAX.3
@@ -24,7 +24,7 @@ An integer in the range [1,
.BR MB_LEN_MAX ].
The value 1 denotes traditional 8-bit encoded characters.
.SH STANDARDS
-C11, POSIX.1-2008.
+C11, POSIX.1-2024.
.SH HISTORY
C99, POSIX.1-2001.
.SH SEE ALSO
diff --git a/man/man3/_Fork.3 b/man/man3/_Fork.3
new file mode 100644
index 0000000000..95b0bc61ba
--- /dev/null
+++ b/man/man3/_Fork.3
@@ -0,0 +1,29 @@
+.\" Copyright, The authors of the Linux man-pages project
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.TH _Fork 3 (date) "Linux man-pages (unreleased)"
+.SH NAME
+_Fork \- create a child process
+.SH LIBRARY
+Standard C library
+.RI ( libc ,\~ \-lc )
+.SH SYNOPSIS
+.nf
+.B #include <unistd.h>
+.P
+.B pid_t _Fork(void);
+.fi
+.SH DESCRIPTION
+This function is equivalent to
+.BR fork (2),
+except that fork handlers registered with
+.BR pthread_atfork (3)
+are not called.
+.SH STANDARDS
+POSIX.1-2024.
+.SH HISTORY
+POSIX.1-2024.
+.SH SEE ALSO
+.BR fork (2),
+.BR vfork (2)
diff --git a/man/man3/ftime.3 b/man/man3/ftime.3
index 0a69706897..5a5e61df92 100644
--- a/man/man3/ftime.3
+++ b/man/man3/ftime.3
@@ -13,7 +13,7 @@ Standard C library
.nf
.B "#include <sys/timeb.h>"
.P
-.BI "int ftime(struct timeb *" tp );
+.BI "[[deprecated]] int ftime(struct timeb *" tp );
.fi
.SH DESCRIPTION
.BR NOTE :
diff --git a/man/man3/getenv.3 b/man/man3/getenv.3
index 0d0ff9eea9..529c1a8fb5 100644
--- a/man/man3/getenv.3
+++ b/man/man3/getenv.3
@@ -36,7 +36,7 @@ and returns a pointer to the corresponding
.I value
string.
.P
-The GNU-specific
+The
.BR secure_getenv ()
function is just like
.BR getenv ()
@@ -89,14 +89,14 @@ T} Thread safety MT-Safe env
C11, POSIX.1-2008.
.TP
.BR secure_getenv ()
-GNU.
+POSIX.1-2024.
.SH HISTORY
.TP
.BR getenv ()
POSIX.1-2001, C89, C99, SVr4, 4.3BSD.
.TP
.BR secure_getenv ()
-glibc 2.17.
+POSIX.1-2024, glibc 2.17.
.SH NOTES
The strings in the environment list are of the form
.IR name=value .
diff --git a/man/man3/ptsname.3 b/man/man3/ptsname.3
index 0049449d2e..8ed52caf55 100644
--- a/man/man3/ptsname.3
+++ b/man/man3/ptsname.3
@@ -110,7 +110,7 @@ T} Thread safety MT-Safe
.SH VERSIONS
A version of
.BR ptsname_r ()
-is documented on Tru64 and HP-UX,
+is documented on Tru64, HP-UX, and FreeBSD,
but on those implementations,
\-1 is returned on error, with
.I errno
@@ -120,13 +120,9 @@ Avoid using this function in portable programs.
.TP
.BR ptsname ():
POSIX.1-2008.
-.P
-.BR ptsname_r ()
-is a Linux extension, that is proposed for inclusion
-.\" FIXME . for later review when Issue 8 is one day released
-.\" http://austingroupbugs.net/tag_view_page.php?tag_id=8
-.\" http://austingroupbugs.net/view.php?id=508
-in the next major revision of POSIX.1 (Issue 8).
+.TP
+.BR ptsname_r ():
+POSIX.1-2024.
.SH HISTORY
.TP
.BR ptsname ():
@@ -136,6 +132,9 @@ glibc 2.1.
.BR ptsname ()
is part of the UNIX 98 pseudoterminal support (see
.BR pts (4)).
+.TP
+.BR ptsname_r ():
+GNU.
.SH SEE ALSO
.BR grantpt (3),
.BR posix_openpt (3),