Be exsplicit about the parentheses around return statements. It is

documented by example.  Since most of this file is documented by
example, it is confusing.  Make things a little less confusing.
This commit is contained in:
Warner Losh 2001-12-07 11:40:22 +00:00
parent 79731c7b1b
commit eedd038914
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87486

View file

@ -468,6 +468,8 @@ if (!*p)
Routines returning void * should not have their return values cast
to any pointer type.
.Pp
Values in return statements should be enclosed in parentheses.
.Pp
Use
.Xr err 3
or