bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

htonl: New module.


From: Collin Funk
Subject: htonl: New module.
Date: Sat, 10 Aug 2024 17:27:02 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

I've pushed this patch + tests adding htonl, htons, ntohl, ntohs to
arpa/inet.h. I've just named the module 'htonl' since POSIX documents
these functions under that page [1]. Doing a separate for each seems
excessive. It's all just reusing endian.h anyways.

Collin

[1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/htonl.html

Attachment: 0001-htonl-New-module.patch
Description: Text Data

Attachment: 0002-htonl-Add-tests.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]