aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>2015-08-24 18:19:52 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-09-11 12:06:08 +0200
commit1ec27c36ff06b4460e1fe83e60217ad7eb2f4f3d (patch)
treec77882f90f5ddb358318247842bebdf37bab6a97
parent098cd28bbf225517fd751aa96675bb607ca2b820 (diff)
downloadman-pages-1ec27c36ff06b4460e1fe83e60217ad7eb2f4f3d.tar.gz
fgetpwent.3: ATTRIBUTES: Note function that is not thread-safe
The marking matches glibc marking. marking of function in glibc is: - fgetgrent: MT-Unsafe race:fpwent ps: We think race:fpwent in glibc maybe hard for users to understand, and have sent a patch to the GNU libc community for changing it to race:fgetpwent, however, something about the copyright impeded the progress. Here we mark it "race:fgetpwent", so there is a little different. Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/fgetpwent.316
1 files changed, 16 insertions, 0 deletions
diff --git a/man3/fgetpwent.3 b/man3/fgetpwent.3
index 3076494cae..84e03793a1 100644
--- a/man3/fgetpwent.3
+++ b/man3/fgetpwent.3
@@ -98,6 +98,22 @@ structure.
.TP
.I /etc/passwd
password database file
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR fgetpwent ()
+.\" FIXME: the following marking is different from which in glibc manual,
+.\" marking in glibc manual is,
+.\" fgetpwent: MT-Unsafe race:fpwent
+.\" We think race:fpwent in glibc maybe hard for users to understand,
+.\" and have sent a patch to the GNU libc community for changing it to
+.\" race:fgetpwent, however, something about the copyright impeded the progress.
+T} Thread safety MT-Unsafe race:fgetpwent
+.TE
+
.SH CONFORMING TO
SVr4.
.SH SEE ALSO