Subject: Re: magic symlinks: uid keyword translation
To: None <tech-kern@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-kern
Date: 10/31/2006 08:43:18
On Mon, 30 Oct 2006, Christian Biere wrote:
> Of course, the additionally required variable is somewhat awkward
> but you can't even write this, unfortunately:
> 
> 	printf("%s", uid_to_string_buf(uid).str); /* not legal */

What's wrong with that?  If a function returns a struct or union, you
are allowed to use just one member.  Try it, or read section 6.5.2.3 of
the C99 standard.

--apb (Alan Barrett)