.\" Modified Sat Jul 24 21:29:05 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Thu Jul 26 14:06:20 2001 by Andries Brouwer (aeb@cwi.nl)
.\"
-.TH BYTEORDER 3 2009-01-15 "GNU" "Linux Programmer's Manual"
+.TH BYTEORDER 3 2014-04-08 "GNU" "Linux Programmer's Manual"
.SH NAME
htonl, htons, ntohl, ntohs \- convert values between host and network
byte order
On the i386 the host byte order is Least Significant Byte first,
whereas the network byte order, as used on the Internet, is Most
Significant Byte first.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR htonl (),
+.BR htons (),
+.BR ntohl (),
+and
+.BR ntohs ()
+functions are thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.BR endian (3),
.BR gethostbyname (3),
.BR getservent (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.