The dphtonint man page
NAME
dphtonint - make byte-order conversion for integer
SYNOPSIS
#include
int dphtonint(n)
int n;
DESCRIPTION
dphtonint() converts n, which is host byte-ordered, to net-
work byte order (which is always big-endian). To convert
long and short integers, use htonl(3N) and htons(3N).
RETURN VALUES
dphtonint() returns the value in network byte order.
REMARK
This is a DP function call.
AUTHOR
David Arnow
FILES
/usr/include/dp/dp.h - DP header file
/usr/lib/libdp.a - DP library file
SEE ALSO
dpntohint(3DP), byteorder(3N)
Essential DP MAN Pages:
General/Essential:
Non-Interrupting Messages:
Interrupting Messages:
dpblock
dpcatchmsg
dpgetmsg
dppause
dpunblock
Other:
Return to
DP For Students
Return to
The DP Project
Return to
David Arnow's Home Page