On 4/30/06, Matthias Kilian <[EMAIL PROTECTED]> wrote:
On Sun, Apr 30, 2006 at 09:18:05PM +0100, Nick Guenther wrote:
> I was wondering this myself last week, but I remembered that someone
> once said "check all the examples before deciding style(9) is silent
> on an issue" and so I did. The examples all use `return (expr);`.
Have a look at usr.bin/ftp/ftp.c; it contains at least one `return
0;', which should then be `return (0);', which in turn is plain
ugly (at least for me), but, OTH, is used in all other return
statements of non-void functions.
you have just discovered that not everything in src is 100% style compliant.
return (0); is correct.