source: asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/network/inet_addr.c@ 352

Last change on this file since 352 was 352, checked in by coas-nagasima, 6 years ago

arm向けASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 235 bytes
Line 
1#include <sys/socket.h>
2#include <netinet/in.h>
3#include <arpa/inet.h>
4
5int __inet_aton(const char *, struct in_addr *);
6
7in_addr_t inet_addr(const char *p)
8{
9 struct in_addr a;
10 if (!__inet_aton(p, &a)) return -1;
11 return a.s_addr;
12}
Note: See TracBrowser for help on using the repository browser.