SCCS-vsn: sbin/mount/getmntopts.3 8.3
.\"
.\" %sccs.include.redist.roff%
.\"
.\"
.\" %sccs.include.redist.roff%
.\"
-.\" @(#)getmntopts.3 8.2 (Berkeley) %G%
+.\" @(#)getmntopts.3 8.3 (Berkeley) %G%
.Dv m_altloc
field of the option's table entry)
are updated.
.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 ,
.Nm getmntopt .
The table,
.Dv mopts ,
+ mntflags = mntaltflags = 0;
- getmntopts(options, mopts, &mntflags)
+ getmntopts(options, mopts, &mntflags, &mntaltflags);
+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.
.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
.Sh SEE ALSO
.Xr err 3 ,
.Xr mount 8