aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2013-05-28 17:08:22 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-19 03:31:02 +0200
commit6a92c34cfff37f39699520c99f45d69a13b57070 (patch)
tree6c785edbef80d82f4e83d1eb662ee4c48c2af173
parent3f69da2862c18de640ffd2ba1519a102791c62f1 (diff)
downloadman-pages-6a92c34cfff37f39699520c99f45d69a13b57070.tar.gz
ether_aton.3: ATTRIBUTES: Note functions that are not thread-safe
The functions ether_aton() and ether_ntoa() are not thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/ether_aton.316
1 files changed, 16 insertions, 0 deletions
diff --git a/man3/ether_aton.3 b/man3/ether_aton.3
index 53f7adafd2..48745ce333 100644
--- a/man3/ether_aton.3
+++ b/man3/ether_aton.3
@@ -124,6 +124,22 @@ struct ether_addr {
}
.fi
.in
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR ether_aton ()
+and
+.BR ether_ntoa ()
+functions are not thread-safe.
+.LP
+The
+.BR ether_ntohost (),
+.BR ether_hostton (),
+.BR ether_line (),
+.BR ether_ntoa_r ()
+and
+.BR ether_aton_r ()
+functions are thread-safe.
.SH CONFORMING TO
4.3BSD, SunOS.
.SH BUGS