diff options
author | Guido van Rossum <guido@python.org> | 2007-01-15 00:02:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-01-15 00:02:35 (GMT) |
commit | 2799aab86d1715e5b170b9a5cd34b0512b740cb2 (patch) | |
tree | ecc1789e5a878f9d3ff7c38c5a37b7df251f3853 /Doc | |
parent | 1ff01fb0afa183bbeae9cfcdb919d988be93ef8c (diff) | |
download | cpython-2799aab86d1715e5b170b9a5cd34b0512b740cb2.zip cpython-2799aab86d1715e5b170b9a5cd34b0512b740cb2.tar.gz cpython-2799aab86d1715e5b170b9a5cd34b0512b740cb2.tar.bz2 |
Doc patch matching r53434 (htonl etc. now always take/return positive ints).
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libsocket.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex index f20c56c..5ba4310 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} |