mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibC: Add inet_ntoa()
This commit is contained in:
parent
0ba458cfa0
commit
cf4da485e6
2 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,8 @@ __BEGIN_DECLS
|
|||
const char* inet_ntop(int af, const void* src, char* dst, socklen_t);
|
||||
int inet_pton(int af, const char* src, void* dst);
|
||||
|
||||
char* inet_ntoa(struct in_addr);
|
||||
|
||||
inline uint16_t htons(uint16_t value)
|
||||
{
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue