Date: Fri, 3 Mar 2006 20:45:12 +0200 From: Rostislav Krasny <rosti.bsd@gmail.com> To: freebsd-standards@FreeBSD.org Subject: gethostbyaddr() Message-ID: <20060303204512.50b7f709.rosti.bsd@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, IEEE Std 1003.1 has following gethostbyaddr() prototype: struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type); http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html However FreeBSD has differnet prototype of that function: struct hostent *gethostbyaddr(const char *addr, int len, int type); As you can see, types of first two arguments are different. Is there a good reason for that and could the gethostbyaddr() prototype be adjusted?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060303204512.50b7f709.rosti.bsd>