lkml.org 
[lkml]   [2006]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] POSIX-hostname up to 255 characters
linux-os (Dick Johnson) wrote:
> It is written (on so-called compatible machines like my Sun) as:
>
> #define MAXHOSTNAMELEN _POSIX_HOST_NAME_MAX
>
> Then in limits.h, I see:
>
> #define _POSIX_HOST_NAME_MAX 64

That's wrong. The value must be 255, at least for the current spec.
You really should verify your statements before making them public. The
POSIX spec is available in HTML for for viewing for free from the
OpenGroup. What a specific implementation does is not authoritative.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-05-26 20:58    [W:0.301 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site