elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
net
/
in_aton.c
File editor
#include <arpa/inet.h> /* ascii to ip address in host byte order*/ ipaddr_t in_aton(const char *str) { unsigned long addr = 0; unsigned int val; int i; for (i = 0; i < 4; i++) { addr <<= 8; if (*str) { val = 0; while (*str && *str != '.') { val *= 10; val += *str++ - '0'; } addr |= val; if (*str) str++; } } return htonl(addr); }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history