aboutsummaryrefslogtreecommitdiffstats
path: root/man3/getusershell.3
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2013-05-28 17:50:10 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-19 03:31:02 +0200
commit7c51f0e3410128f780cec61f7710e09f40d2cd48 (patch)
tree9db010d7dc2006a4c808750ae3d040bb39db02c2 /man3/getusershell.3
parent6a92c34cfff37f39699520c99f45d69a13b57070 (diff)
downloadman-pages-7c51f0e3410128f780cec61f7710e09f40d2cd48.tar.gz
getusershell.3: ATTRIBUTES: Note functions that are not thread-safe
The functions getusershell(), setusershell() and endusershell() are not thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/getusershell.3')
-rw-r--r--man3/getusershell.38
1 files changed, 8 insertions, 0 deletions
diff --git a/man3/getusershell.3 b/man3/getusershell.3
index 8744978182..a520ae1ab0 100644
--- a/man3/getusershell.3
+++ b/man3/getusershell.3
@@ -90,6 +90,14 @@ function returns a NULL pointer on end-of-file.
.nf
/etc/shells
.fi
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR getusershell (),
+.BR setusershell ()
+and
+.BR endusershell ()
+functions are not thread-safe.
.SH CONFORMING TO
4.3BSD.
.SH SEE ALSO