utsname struct

=?ISO-8859-1?Q?Tom=E1s_Restrepo?= (trestrep@medellin.cetcol.net.co)
Mon, 31 Mar 1997 12:12:35 -0500


Hi all.

This may seem like a stupid question, but I'll ask it anyway.

In sys/utsname.h every field in the utsname struct is defined as 65
caracter-long strings. That's fine, more would be a waste of mamory, but
recently, I saw the same file under a sparc system running SunOS, and the
fields were defined as 255 caracter-long strings, supposedly to "acommodate
Internet names" (that's what the comments said). The file was supposed to
be written by AT&T and be non published work (???). Which way should it
really be?

+----------------------------------------------------+
Tomás Restrepo Madrid
Winder
trestrep@medellin.cetcol.net.co
etrm703@delta.eafit.edu.co
http://delta.eafit.edu.co/~etrm703/
+----------------------------------------------------+