Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 1996 14:50:25 +0800 (HKT)
From:      John Beukema <john@gateway.net.hk>
To:        Bradley Dunn <bradley@dunn.org>
Cc:        John Capo <jc@irbs.com>, freebsd-isp@freebsd.org
Subject:   Re: Ugh...long usernames
Message-ID:  <Pine.BSI.3.91.961206144712.11192A-100000@gateway.net.hk>
In-Reply-To: <Pine.WNT.3.95.961203215556.-365809W-100000@swoosh.dunn.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 3 Dec 1996, Bradley Dunn wrote:

> On Tue, 3 Dec 1996, John Capo wrote:
> 
> > /usr/src/include/protocols/rwhod.h:    char    out_name[8];            /* user id */
> 
> This is the same as in BSD/OS. I think changing this would maybe break
> rwho?
> 
> > /usr/include/stdio.h:#define L_cuserid       9       /* size for cuserid(); UT_NAMESIZE + 1 */
> 
> In BSD/OS this is UT_NAMESIZE (ie 16). Anyone know why the +1?

UT_NAMESIZE in utmp.h is used as an array of char. The +1 is for the '\0' 
to make it a cstring.
 > 
> -BD
> 
> 
jbeukema



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.961206144712.11192A-100000>