summaryrefslogtreecommitdiffstats
path: root/man3/getspnam.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getspnam.3')
-rw-r--r--man3/getspnam.340
1 files changed, 32 insertions, 8 deletions
diff --git a/man3/getspnam.3 b/man3/getspnam.3
index 8ae1517e0..f0752cb63 100644
--- a/man3/getspnam.3
+++ b/man3/getspnam.3
@@ -4,7 +4,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH getspnam 3 2023-02-05 "Linux man-pages 6.03"
+.TH getspnam 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
getspnam, getspnam_r, getspent, getspent_r, setspent, endspent,
fgetspent, fgetspent_r, sgetspent, sgetspent_r, putspent,
@@ -244,58 +244,82 @@ to the pathname of the shadow password file.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lb lb lbx
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR getspnam ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:getspnam locale
T}
T{
+.na
+.nh
.BR getspent ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:getspent
race:spentbuf locale
T}
T{
+.na
+.nh
.BR setspent (),
.BR endspent (),
.BR getspent_r ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:getspent locale
T}
T{
+.na
+.nh
.BR fgetspent ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:fgetspent
T}
T{
+.na
+.nh
.BR sgetspent ()
T} Thread safety T{
+.na
+.nh
MT-Unsafe race:sgetspent
T}
T{
+.na
+.nh
.BR putspent (),
.BR getspnam_r (),
.BR sgetspent_r ()
T} Thread safety T{
+.na
+.nh
MT-Safe locale
T}
T{
+.na
+.nh
.BR lckpwdf (),
.BR ulckpwdf (),
.BR fgetspent_r ()
T} Thread safety T{
+.na
+.nh
MT-Safe
T}
.TE
-.hy
-.ad
.sp 1
In the above table,
.I getspent
@@ -309,10 +333,10 @@ or
.BR endspent ()
are used in parallel in different threads of a program,
then data races could occur.
+.SH VERSIONS
+Many other systems provide a similar API.
.SH STANDARDS
-The shadow password database and its associated API are
-not specified in POSIX.1.
-However, many other systems provide a similar API.
+None.
.SH SEE ALSO
.BR getgrnam (3),
.BR getpwnam (3),