Re: host name length
From: Ulrich Drepper
Date: Sun Dec 05 2004 - 14:50:10 EST
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Randy.Dunlap wrote:
> Can you show/tell me where _POSIX_HOST_NAME_MAX is specified to be
> at least 256?
XBD, page 255 (in the 2004 edition), <limits.h>
{_POSIX_HOST_NAME_MAX}
Maximum length of a host name (not including the terminating null) as
returned from the /gethostname()/ function.
Value: 255
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBs2Xi2ijCOnn/RHQRAlzqAJ0aGjR6ptG0GfhEK9fK/wh/jHz5FwCgne9q
8CuFUfI27KMdic4+3UDc3mk=
=YoSa
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/