From: Guido van Rossum Date: Mon, 15 Jan 2007 00:02:35 +0000 (+0000) Subject: Doc patch matching r53434 (htonl etc. now always take/return positive ints). X-Git-Tag: v2.6a1~2269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2799aab86d1715e5b170b9a5cd34b0512b740cb2;p=python Doc patch matching r53434 (htonl etc. now always take/return positive ints). --- diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index f20c56c5a3..5ba43101c3 100644 --- a/Doc/lib/libsocket.tex +++ b/Doc/lib/libsocket.tex @@ -331,25 +331,25 @@ Availability: \UNIX. \end{funcdesc} \begin{funcdesc}{ntohl}{x} -Convert 32-bit integers from network to host byte order. On machines +Convert 32-bit positive integers from network to host byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 4-byte swap operation. \end{funcdesc} \begin{funcdesc}{ntohs}{x} -Convert 16-bit integers from network to host byte order. On machines +Convert 16-bit positive integers from network to host byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 2-byte swap operation. \end{funcdesc} \begin{funcdesc}{htonl}{x} -Convert 32-bit integers from host to network byte order. On machines +Convert 32-bit positive integers from host to network byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 4-byte swap operation. \end{funcdesc} \begin{funcdesc}{htons}{x} -Convert 16-bit integers from host to network byte order. On machines +Convert 16-bit positive integers from host to network byte order. On machines where the host byte order is the same as network byte order, this is a no-op; otherwise, it performs a 2-byte swap operation. \end{funcdesc}