Re: HOST_NAME_MAX not defined in unistd.h

2016-10-03 Thread Garrett Wollman
In article <20161002111719.6e22f...@x220.alogt.com>, erichsfreebsdl...@alogt.com writes: >'Host names are limited to {HOST_NAME_MAX} characters, not including >the trailing null, currently 255.' > >which makes people assume that HOST_NAME_MAX is defined in unistd.h. It should not make them assum

HOST_NAME_MAX not defined in unistd.h

2016-10-01 Thread Erich Dollansky
Hi, there is a discrepancy in the documentation: sys/syslimits.h says: '/* * We leave the following values undefined to force applications to either * assume conservative values or call sysconf() to get the current value. * * HOST_NAME_MAX * * (We should do this for most of the values curre