Module Name: src Committed By: wiz Date: Mon May 4 20:43:48 UTC 2009
Modified Files: src/lib/libutil: getmntopts.3 Log Message: Sort sections. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libutil/getmntopts.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libutil/getmntopts.3 diff -u src/lib/libutil/getmntopts.3:1.8 src/lib/libutil/getmntopts.3:1.9 --- src/lib/libutil/getmntopts.3:1.8 Sun Aug 26 22:53:01 2007 +++ src/lib/libutil/getmntopts.3 Mon May 4 20:43:48 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: getmntopts.3,v 1.8 2007/08/26 22:53:01 pooka Exp $ +.\" $NetBSD: getmntopts.3,v 1.9 2009/05/04 20:43:48 wiz Exp $ .\" .\" Copyright (c) 1994 .\" The Regents of the University of California. All rights reserved. @@ -157,6 +157,24 @@ .Fn freemntopts frees the storage used by .Fn getmntopts . +.Sh RETURN VALUES +.Fn getmntopts +returns +.Dv NULL +if an error occurred. +Note that some bits may already have been set in +.Va flagp +and +.Va altflagp +even if +.Dv NULL +is returned. +.Fn getmntoptstr +returns +.Dv NULL +if the option does not have an argument, or the option string. +.Fn getmntoptnum +returns \-1 if an error occurred. .Sh EXAMPLES Most commands will use the standard option set. Local filesystems which support the @@ -185,24 +203,6 @@ val = getmntoptnum(mp, "rsize"); freemntopts(mp); .Ed -.Sh RETURN VALUE -.Fn getmntopts -returns -.Dv NULL -if an error occurred. -Note that some bits may already have been set in -.Va flagp -and -.Va altflagp -even if -.Dv NULL -is returned. -.Fn getmntoptstr -returns -.Dv NULL -if the option does not have an argument, or the option string. -.Fn getmntoptnum -returns \-1 if an error occurred. .Sh DIAGNOSTICS If the external integer variable .Va getmnt_silent