]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/ether_aton.3
user_namespaces.7: Minor rewordings of recently added text
[thirdparty/man-pages.git] / man3 / ether_aton.3
index 63ab3594888313e501b0d2266209c410713c3c57..5e6082c0d4bb106c73a8901b8764666d708c3528 100644 (file)
 .\"
 .\" Minor additions, aeb, 2013-06-21
 .\"
-.TH ETHER_ATON 3  2013-07-04 "GNU" "Linux Programmer's Manual"
+.TH ETHER_ATON 3  2017-09-15 "GNU" "Linux Programmer's Manual"
 .SH NAME
 ether_aton, ether_ntoa, ether_ntohost, ether_hostton, ether_line,
 ether_ntoa_r, ether_aton_r \- Ethernet address manipulation routines
 .SH SYNOPSIS
 .nf
 .B #include <netinet/ether.h>
-.sp
+.PP
 .BI "char *ether_ntoa(const struct ether_addr *" addr );
-.sp
+.PP
 .BI "struct ether_addr *ether_aton(const char *" asc );
-.sp
+.PP
 .BI "int ether_ntohost(char *" hostname ", const struct ether_addr *" addr );
-.sp
+.PP
 .BI "int ether_hostton(const char *" hostname ", struct ether_addr *" addr );
-.sp
+.PP
 .BI "int ether_line(const char *" line ", struct ether_addr *" addr ,
 .BI "               char *" hostname );
-.sp
+.PP
 /* GNU extensions */
 .br
 .BI "char *ether_ntoa_r(const struct ether_addr *" addr ", char *" buf );
-.sp
+.PP
 .BI "struct ether_addr *ether_aton_r(const char *" asc ,
 .BI "                                struct ether_addr *" addr );
 .fi
@@ -116,35 +116,43 @@ The structure
 is defined in
 .I <net/ethernet.h>
 as:
-.sp
+.PP
 .in +4n
-.nf
+.EX
 struct ether_addr {
     uint8_t ether_addr_octet[6];
 }
-.fi
+.EE
 .in
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
-.BR ether_aton ()
-and
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.ad l
+.TS
+allbox;
+lbw33 lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR ether_aton (),
 .BR ether_ntoa ()
-functions are not thread-safe.
-.LP
-The
+T}     Thread safety   MT-Unsafe
+T{
 .BR ether_ntohost (),
 .BR ether_hostton (),
 .BR ether_line (),
-.BR ether_ntoa_r ()
-and
+.BR ether_ntoa_r (),
 .BR ether_aton_r ()
-functions are thread-safe.
+T}     Thread safety   MT-Safe
+.TE
+.ad
 .SH CONFORMING TO
 4.3BSD, SunOS.
 .SH BUGS
-The glibc 2.2.5 implementation of
+In glibc 2.2.5 and earlier, the implementation of
 .BR ether_line ()
+.\" The fix was presumably commit c0a0f9a32c8baa6ab93d00eb42d92c02e9e146d7
+.\" which was in glibc 2.3
 is broken.
 .SH SEE ALSO
 .BR ethers (5)