add manual page
This commit is contained in:
parent
80b0f3a562
commit
da80e3ab34
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.68 2011/10/21 02:05:36 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.69 2011/11/13 22:03:34 christos Exp $
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||
|
||||
USE_SHLIBDIR= yes
|
||||
|
@ -21,9 +21,8 @@ SRCS+= efun.c getbootfile.c getlabelsector.c getmaxpartitions.c \
|
|||
secure_path.c sockaddr_snprintf.c stat_flags.c \
|
||||
strpct.c ttyaction.c ttymsg.c
|
||||
|
||||
MAN= efun.3 getbootfile.3 getlabelsector.3 getmaxpartitions.3 \
|
||||
getmntopts.3 \
|
||||
getrawpartition.3 \
|
||||
MAN= efun.3 getbootfile.3 getfstypename.3 getlabelsector.3 \
|
||||
getmaxpartitions.3 getmntopts.3 getrawpartition.3 \
|
||||
login.3 login_cap.3 loginx.3 \
|
||||
disklabel_dkcksum.3 disklabel_scan.3 \
|
||||
opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
.\" $NetBSD: getfstypename.3,v 1.1 2011/11/13 22:03:34 christos Exp $
|
||||
.\"
|
||||
.\"
|
||||
.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This code is derived from software contributed to The NetBSD Foundation
|
||||
.\" by Christos Zoulas.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. All advertising materials mentioning features or use of this software
|
||||
.\" must display the following acknowledgement:
|
||||
.\" This product includes software developed by the NetBSD
|
||||
.\" Foundation, Inc. and its contributors.
|
||||
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
||||
.\" contributors may be used to endorse or promote products derived
|
||||
.\" from this software without specific prior written permission.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||||
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
||||
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd November 13, 2011
|
||||
.Dt GETFSTYPENAME 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm getfstypename
|
||||
.Nd convert a partition file system type integer to a wedge partition type name.
|
||||
.Sh LIBRARY
|
||||
.Lb libutil
|
||||
.Sh SYNOPSIS
|
||||
.In util.h
|
||||
.Ft const char *
|
||||
.Fn getfstypename "int fstype"
|
||||
.Sh DESCRIPTION
|
||||
.Fn getfstypename
|
||||
returns the disk wedge partitition type name corresponding to the
|
||||
.Ar fstype
|
||||
argument as specified in
|
||||
.In sys/disk.h
|
||||
or
|
||||
.Dv DKW_PTYPE_UNKNOWN
|
||||
if one is not found.
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Fn getfstypename
|
||||
function call appeared in
|
||||
.Nx 6.0 .
|
Loading…
Reference in New Issue