ax-libc 0.5.0

ArceOS user program library for C apps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _ARPA_INET_H
#define _ARPA_INET_H

#include <netinet/in.h>

uint32_t htonl(uint32_t);
uint16_t htons(uint16_t);
uint32_t ntohl(uint32_t);
uint16_t ntohs(uint16_t);

int inet_pton(int, const char *__restrict, void *__restrict);
const char *inet_ntop(int, const void *__restrict, char *__restrict, socklen_t);

#endif