lkml.org 
[lkml]   [2004]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: host name length
-----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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site