aboutsummaryrefslogtreecommitdiffstats
path: root/src/arpa/inet/htonl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* It is of course possible that int is 16 bits, and long is required to get 32 bitsMattias Andrée2015-12-201-3/+3
| | | | | | (in this case, assuming 8-, 16-, and 32-bit integers exists) long must be 32 bits. Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* optimise implementations of {hton,ntoh}{s,l,ll}Mattias Andrée2015-12-201-0/+10
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix issue #8 on githubMattias Andrée2015-12-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add ntohs, ntohl, ntohll, htons, htonl, and htonllMattias Andrée2015-12-161-0/+41
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>