AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database

Declaration for 

inet_pton from NetLib:arpa.h.inet

(Function prototype)
/*
* Check whether "src" is a valid ascii representation
* of an Internet address and convert to a binary address.
* This replaces inet_addr, the return value from which
* cannot distinguish between failure and a local broadcast address.
* return:
*     1 if the address was valid for the specified address family
*     0 if the address wasn't valid (`dst' is untouched in this case)
*     -1 if some other error occurred (`dst' is untouched in this case, too)
*/

extern int inet_pton (int /*af*/, const char */*src*/, void */*dst*/);


Open original source file

See header files's help page


[sh-index] Back to list of manuals