httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James H. Cloos Jr." <cl...@JHCloos.COM>
Subject Re: MAXHOSTNAMELEN
Date Tue, 12 Sep 1995 17:42:18 GMT
Wrt to Linux and MAXHOSTNAMELEN:

More precisely, sys/param.h includes linux/param.h which includes
asm/param.h, which sets MAXHOSTNAMELEN to 64.

Then, sys/param.h will make that 8 if OLD_LINUX is set.  It is not set
at all in any of the .h files under /usr/include that i can find.

So assume 64 for Linux.

-JimC
-- 
James H. Cloos, Jr.	include <std/qotd>
James.Cloos@JHCloos.COM	include <std/disclaimers.h>
Work: cloos@io.com	URL:	http://www.jhcloos.com/~cloos/
LPF,Usenix,SAGE		Snail:	POBox 18122 Austin, TX 78760-8122

Mime
View raw message