Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 01:50:09 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Paul Richards <paul@originative.co.uk>
Cc:        John Polstra <jdp@polstra.com>, current@FreeBSD.ORG
Subject:   Re: MAX_UID ?
Message-ID:  <20000313015009.A5653@hades.hell.gr>
In-Reply-To: <38CB322D.D12ED0B0@originative.co.uk>; from paul@originative.co.uk on Sun, Mar 12, 2000 at 05:59:09AM %2B0000
References:  <38CAD957.3C839375@originative.co.uk> <200003120430.UAA49807@vashon.polstra.com> <38CB322D.D12ED0B0@originative.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 12, 2000 at 05:59:09AM +0000, Paul Richards wrote:
> 
> Are expressions like ((uid_t)0-1) portable/safe ? Maybe that's a better
> way of approaching this.

To get the all-1's number, maybe it's better to use ((uid_t)~0), but
that is a rather controversial topic anyway.

- Giorgos Keramidas


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000313015009.A5653>