Update hppa libm-test-ulps
[glibc.git] / conform / data / arpa / inet.h-data
blob040b8212c73778d2e1272a2841424fdb098ddde2
1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
2 // in_port_t should have exactly 16 bits
3 type in_port_t
4 // in_addr_t should have exactly 32 bits
5 type in_addr_t
7 type uint32_t
8 type uint16_t
10 macro INET_ADDRSTRLEN
11 macro INET6_ADDRSTRLEN
13 // The following can be declared as functions, defined as macros or both:
14 function uint32_t htonl (uint32_t)
15 function uint16_t htons (uint16_t)
16 function uint32_t ntohl (uint32_t)
17 function uint16_t htons (uint16_t)
19 function in_addr_t inet_addr (const char*)
20 function in_addr_t inet_lnaof (struct in_addr)
21 function {struct in_addr} inet_makeaddr (in_addr_t, in_addr_t)
22 function in_addr_t inet_netof (struct in_addr)
23 function in_addr_t inet_network (const char *)
24 function {char*} inet_ntoa (struct in_addr)
25 function {const char*} inet_ntop (int, const void*, char*, socklen_t)
26 function int inet_pton (int, const char*, void*)
28 allow-header netinet/in.h
29 allow-header inttypes.h
31 #endif