summaryrefslogtreecommitdiff
path: root/libc/include/arpa/inet.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/arpa/inet.yaml')
-rw-r--r--libc/include/arpa/inet.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/libc/include/arpa/inet.yaml b/libc/include/arpa/inet.yaml
new file mode 100644
index 000000000000..10cd56d6ce78
--- /dev/null
+++ b/libc/include/arpa/inet.yaml
@@ -0,0 +1,31 @@
+header: arpa/inet.h
+header_template: inet.h.def
+macros: []
+types: []
+enums: []
+objects: []
+functions:
+ - name: htonl
+ standards:
+ - POSIX
+ return_type: uint32_t
+ arguments:
+ - type: uint32_t
+ - name: htons
+ standards:
+ - POSIX
+ return_type: uint16_t
+ arguments:
+ - type: uint16_t
+ - name: ntohl
+ standards:
+ - POSIX
+ return_type: uint32_t
+ arguments:
+ - type: uint32_t
+ - name: ntohs
+ standards:
+ - POSIX
+ return_type: uint16_t
+ arguments:
+ - type: uint16_t