aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/getlogin.314
1 files changed, 14 insertions, 0 deletions
diff --git a/man3/getlogin.3 b/man3/getlogin.3
index d2e06d768c..a4517feedb 100644
--- a/man3/getlogin.3
+++ b/man3/getlogin.3
@@ -137,6 +137,20 @@ password database file
\fI/var/run/utmp\fP
(traditionally \fI/etc/utmp\fP;
some libc versions used \fI/var/adm/utmp\fP)
+.SH ATTRIBUTES
+.SS Multithreading(see pthreads(7))
+The
+.BR getlogin ()
+function is not thread-safe.
+.LP
+The
+.BR getlogin_r ()
+function is thread-safe.
+.LP
+The
+.BR cuserid ()
+function is thread-safe with exceptions.
+It is not thread-safe if called with a NULL parameter.
.SH CONFORMING TO
.BR getlogin ()
and