mirror of https://github.com/mkerrisk/man-pages
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:
parent
0a167f3161
commit
67e569aa71
|
@ -127,6 +127,21 @@ is too small.
|
|||
Try again with a larger buffer
|
||||
(and increased
|
||||
.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
|
||||
These functions are GNU extensions.
|
||||
Functions with similar names exist on some other systems,
|
||||
|
|
Loading…
Reference in New Issue