NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/43795: getmntopts(3) man page doesn't describe return values and error handling well
The following reply was made to PR misc/43795; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: misc/43795: getmntopts(3) man page doesn't describe return values
and error handling well
Date: Tue, 24 Aug 2010 17:04:27 +0700
Date: Tue, 24 Aug 2010 02:25:02 +0000 (UTC)
From: Guy Harris <guy%alum.mit.edu@localhost>
Message-ID: <20100824022502.48EE663BBEB%www.NetBSD.org@localhost>
| *** 141,157 ****
| .Dv NULL
| first element.
| .Pp
| The
| .Fn getmntoptstr
| function returns the string value of the named option, if such a value
| ! was set it the option string.
| .Pp
| The
| .Fn getmntoptnum
| ! returns the long value of the named option, if such a value was set it
the
| option string.
| ! It prints an error message and exits if the value was not
| ! set, or could not be converted from a string to a long.
| .Pp
| The
| .Fn freemntopts
Surely s/it/in/ (in both the old and new versions - ie: this is an
old typo that didn't get corrected).
or to be more precise
s/set it the option string/set in the option string/
kre
Home |
Main Index |
Thread Index |
Old Index