From 583cc7c6f24686db6c36191c79296922900c5fd6 Mon Sep 17 00:00:00 2001 From: Jan-Simon Pendry Date: Thu, 30 Mar 1995 13:43:45 -0800 Subject: [PATCH] update man page for altflags and getmnt_silent SCCS-vsn: sbin/mount/getmntopts.3 8.3 --- usr/src/sbin/mount/getmntopts.3 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/usr/src/sbin/mount/getmntopts.3 b/usr/src/sbin/mount/getmntopts.3 index 4bf8e4da3a..ae3ec855df 100644 --- a/usr/src/sbin/mount/getmntopts.3 +++ b/usr/src/sbin/mount/getmntopts.3 @@ -3,7 +3,7 @@ .\" .\" %sccs.include.redist.roff% .\" -.\" @(#)getmntopts.3 8.2 (Berkeley) %G% +.\" @(#)getmntopts.3 8.3 (Berkeley) %G% .\" .Dd .Dt GETMNTOPTS 3 @@ -36,7 +36,7 @@ or .Dv m_altloc field of the option's table entry) are updated. -The flag word is not initialized by +The flag words are not initialized by .Nm getmntopt . The table, .Dv mopts , @@ -128,16 +128,21 @@ struct mntopt mopts[] = { }; ... - mntflags = 0; + mntflags = mntaltflags = 0; ... - getmntopts(options, mopts, &mntflags) + getmntopts(options, mopts, &mntflags, &mntaltflags); ... .Ed .Sh DIAGNOSTICS -The +If the external integer variable +.Dv getmnt_silent +is non-zero then the .Nm getmntopts function displays an error message and exits if an unrecognized option is encountered. +By default +.Dv getmnt_silent +is zero. .Sh SEE ALSO .Xr err 3 , .Xr mount 8 -- 2.20.1