All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: host name length
Date: Sun, 05 Dec 2004 11:47:46 -0800	[thread overview]
Message-ID: <41B365E2.7040900@redhat.com> (raw)
In-Reply-To: <20041203160538.77a22864.rddunlap@osdl.org>

-----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-----

  reply	other threads:[~2004-12-05 19:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12 20:16 host name length Ulrich Drepper
2004-12-04  0:05 ` Randy.Dunlap
2004-12-05 19:47   ` Ulrich Drepper [this message]
2004-12-06  8:35   ` Jan Engelhardt
2004-12-06 16:45     ` Randy.Dunlap
2004-12-06 17:31       ` Andreas Steinmetz
2004-12-06 19:25         ` Ulrich Drepper
2004-12-06 19:28           ` Andreas Steinmetz
2004-12-08 20:29             ` Randy.Dunlap
2004-12-09  0:35               ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41B365E2.7040900@redhat.com \
    --to=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.