/usr/include/diet/arpa/inet.h is in dietlibc-dev 0.33~cvs20120325-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef _ARPA_INET_H
#define _ARPA_INET_H
#include <sys/cdefs.h>
#include <sys/types.h>
#include <netinet/in.h>
__BEGIN_DECLS
int inet_aton(const char* cp, struct in_addr* inp) __THROW;
unsigned long int inet_addr(const char* cp) __THROW;
unsigned long int inet_network(const char* cp) __THROW;
char* inet_ntoa(struct in_addr in) __THROW;
char* inet_ntoa_r(struct in_addr in,char* buf) __THROW;
struct in_addr inet_makeaddr(int net, int host) __THROW;
unsigned long int inet_lnaof(struct in_addr in) __THROW;
unsigned long int inet_netof(struct in_addr in) __THROW;
int inet_pton (int AF, const char* CP, void* BUF) __THROW;
const char* inet_ntop (int AF, const void* CP, char* BUF, size_t LEN) __THROW;
__END_DECLS
#endif
|