[libc-commits] [PATCH] D144506: [libc] Implement ntohl and ntohs

Raman Tenneti via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Feb 21 09:59:37 PST 2023


rtenneti created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
rtenneti requested review of this revision.

Per spec:

https://pubs.opengroup.org/onlinepubs/9699919799/functions/ntohl.html
https://pubs.opengroup.org/onlinepubs/9699919799/functions/ntohs.html

Co-authored-by: Jeff Bailey <jbailey at google.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144506

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/posix.td
  libc/src/network/CMakeLists.txt
  libc/src/network/htons.h
  libc/src/network/ntohl.cpp
  libc/src/network/ntohl.h
  libc/src/network/ntohs.cpp
  libc/src/network/ntohs.h
  libc/test/src/network/CMakeLists.txt
  libc/test/src/network/ntohl_test.cpp
  libc/test/src/network/ntohs_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144506.499218.patch
Type: text/x-patch
Size: 8891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230221/74e1b3e6/attachment.bin>


More information about the libc-commits mailing list