getservent_r.3: ATTRIBUTES: Note functions that are thread-safe

After research, We think
* getservent_r(),
* getservbyname_r(),
* getservbyport_r(),
are thread-safe. But, there are not
markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-06-11 10:04:26 +08:00 committed by Michael Kerrisk
parent 0a167f3161
commit 67e569aa71
1 changed files with 15 additions and 0 deletions

View File

@ -127,6 +127,21 @@ is too small.
Try again with a larger buffer Try again with a larger buffer
(and increased (and increased
.IR buflen ). .IR buflen ).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbw18 lb lb
l l l.
Interface Attribute Value
T{
.BR getservent_r (),
.BR getservbyname_r (),
.BR getservbyport_r ()
T} Thread safety MT-Safe locale
.TE
.SH CONFORMING TO .SH CONFORMING TO
These functions are GNU extensions. These functions are GNU extensions.
Functions with similar names exist on some other systems, Functions with similar names exist on some other systems,