getrusage.2: ATTRIBUTES: Note function that is thread-safe

The marking matches glibc marking.
The marking of functions in glibc is:
- getrusage: MT-Safe

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-05-13 14:53:45 +08:00 committed by Michael Kerrisk
parent 57ba9747f4
commit 47e94221ff
1 changed files with 13 additions and 0 deletions

View File

@ -199,6 +199,19 @@ points outside the accessible address space.
.B EINVAL
.I who
is invalid.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lb
l l l.
Interface Attribute Value
T{
.BR getrusage ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
SVr4, 4.3BSD.
POSIX.1-2001 specifies