[PATCH] xdr.3: ATTRIBUTES: Note functions that are thread-safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After research, We think
xdr_array(), xdr_bool(),
xdr_bytes(), xdr_char(),
xdr_destroy(), xdr_double(),
xdr_enum(), xdr_float(),
xdr_free(), xdr_getpos(),
xdr_inline(), xdr_int(),
xdr_long(), xdrmem_create(),
xdr_opaque(), xdr_pointer(),
xdrrec_create(), xdrrec_eof(),
xdrrec_endofrecord(),
xdrrec_skiprecord(),
xdr_reference(), xdr_setpos(),
xdr_short(), xdrstdio_create(),
xdr_string(), xdr_u_char(),
xdr_u_int(), xdr_u_long(),
xdr_u_short(), xdr_union(),
xdr_vector(), xdr_void(),
xdr_wrapstring(),
are thread-safe. But, there are not
markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx>
---
 man3/xdr.3 | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/man3/xdr.3 b/man3/xdr.3
index 0e2d939..2b83694 100644
--- a/man3/xdr.3
+++ b/man3/xdr.3
@@ -545,6 +545,68 @@ routines as arguments, and
 .BR xdr_string (),
 one of the most frequently used primitives, requires three.
 Returns one if it succeeds, zero otherwise.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw31 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR xdr_array (),
+.BR xdr_bool (),
+.br
+.BR xdr_bytes (),
+.BR xdr_char (),
+.br
+.BR xdr_destroy (),
+.BR xdr_double (),
+.br
+.BR xdr_enum (),
+.BR xdr_float (),
+.br
+.BR xdr_free (),
+.BR xdr_getpos (),
+.br
+.BR xdr_inline (),
+.BR xdr_int (),
+.br
+.BR xdr_long (),
+.BR xdrmem_create (),
+.br
+.BR xdr_opaque (),
+.BR xdr_pointer (),
+.br
+.BR xdrrec_create (),
+.BR xdrrec_eof (),
+.br
+.BR xdrrec_endofrecord (),
+.br
+.BR xdrrec_skiprecord (),
+.br
+.BR xdr_reference (),
+.BR xdr_setpos (),
+.br
+.BR xdr_short (),
+.BR xdrstdio_create (),
+.br
+.BR xdr_string (),
+.BR xdr_u_char (),
+.br
+.BR xdr_u_int (),
+.BR xdr_u_long (),
+.br
+.BR xdr_u_short (),
+.BR xdr_union (),
+.br
+.BR xdr_vector (),
+.BR xdr_void (),
+.br
+.BR xdr_wrapstring ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH SEE ALSO
 .BR rpc (3)
 .LP
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux