inetaton.cc (197B)
1 #include "sys" 2 3 #ifndef HAVE_INET_ATON 4 int inet_aton (char const *name, struct in_addr *addr) { 5 in_addr_t a = inet_addr (name); 6 addr->s_addr = a; 7 return a != (in_addr_t)-1; 8 } 9 #endif
crossroadsGit mirror of https://crossroads.e-tunity.com/ | |
| git clone git://git.finwo.net/app/crossroads | |
| Log | Files | Refs | LICENSE |