Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libutil Add getmntoptstr, getmntoptnum, and freemntopts ...
details: https://anonhg.NetBSD.org/src/rev/39d21ea47002
branches: trunk
changeset: 822660:39d21ea47002
user: abhinav <abhinav%NetBSD.org@localhost>
date: Thu Mar 30 19:41:41 2017 +0000
description:
Add getmntoptstr, getmntoptnum, and freemntopts to the NAME section
Fix couple of sentences
getmntoptstr, getmntoptnum, and freemntopts need to be linked to the getmntopts(3)
man page as well. Will do in a later commit after doing a relase build test.
diffstat:
lib/libutil/getmntopts.3 | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r d8b77715c7d2 -r 39d21ea47002 lib/libutil/getmntopts.3
--- a/lib/libutil/getmntopts.3 Thu Mar 30 19:23:06 2017 +0000
+++ b/lib/libutil/getmntopts.3 Thu Mar 30 19:41:41 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getmntopts.3,v 1.12 2010/08/24 12:05:01 christos Exp $
+.\" $NetBSD: getmntopts.3,v 1.13 2017/03/30 19:41:41 abhinav Exp $
.\"
.\" Copyright (c) 1994
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,10 @@
.Dt GETMNTOPTS 3
.Os
.Sh NAME
-.Nm getmntopts
+.Nm getmntopts ,
+.Nm getmntoptstr ,
+.Nm getmntoptnum ,
+.Nm freemntopts
.Nd scan mount options
.Sh LIBRARY
.Lb libutil
@@ -181,7 +184,7 @@
.Pp
The
.Fn getmntoptnum
-returns the long value of the named option, if such a value was set in the
+function returns the long value of the named option, if such a value was set in the
option string.
If the value was not set, or could not be converted from a string to a
long, then if the external integer value
@@ -197,7 +200,7 @@
.Pp
The
.Fn freemntopts
-frees the storage used by
+function frees the storage used by
.Fn getmntopts .
.Sh RETURN VALUES
.Fn getmntopts
Home |
Main Index |
Thread Index |
Old Index