diff options
author | Marc G. Fournier <scrappy@FreeBSD.org> | 1996-04-02 04:10:45 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@FreeBSD.org> | 1996-04-02 04:10:45 +0000 |
commit | 7d120151598322bc65062d3cf56a5a9e69ef7a7a (patch) | |
tree | 911d9e6afead4878126d9decaa5e3d0517b68fb2 /share/man/man9 | |
parent | 9b81f3a9457a4befd1daba453f8d39139bb148b1 (diff) |
Notes
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/Makefile | 2 | ||||
-rw-r--r-- | share/man/man9/devfs_add_devswf.9 (renamed from share/man/man9/devfs_add_devsw.9) | 16 | ||||
-rw-r--r-- | share/man/man9/devfs_link.9 | 13 |
3 files changed, 14 insertions, 17 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 6506a6b51e63..b8960c7b7f7d 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/5/93 -MAN9= devfs_add_devsw.9 devfs_link.9 intro.9 style.9 +MAN9= devfs_add_devswf.9 devfs_link.9 intro.9 style.9 .include <bsd.prog.mk> diff --git a/share/man/man9/devfs_add_devsw.9 b/share/man/man9/devfs_add_devswf.9 index 895de67300c3..ae25c5b06ba3 100644 --- a/share/man/man9/devfs_add_devsw.9 +++ b/share/man/man9/devfs_add_devswf.9 @@ -25,28 +25,24 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: devfs_add_devsw.9,v 1.2 1996/01/30 13:51:51 mpp Exp $ +.\" $Id: devfs_add_devsw.9,v 1.3 1996/02/12 04:56:57 mpp Exp $ .\" .Dd December 31, 1995 .Os FreeBSD -.Dt DEVFS_ADD_DEVSW 9 +.Dt DEVFS_ADD_DEVSWF 9 .Sh NAME -.Nm devfs_add_devsw +.Nm devfs_add_devswf .Nd wire device into devswitch table .Sh SYNOPSIS .Fd #include <sys/devfsext.h> .Ft void * -.Fn devfs_add_devsw "char *path" "char *name" "void *devsw" "int minor" "int chrblk" "uid_t uid" "gid_t gid" "int perms" +.Fn devfs_add_devswf "void *devsw" "int minor" "int chrblk" "uid_t uid" "gid_t gid" "int perms" "char *fmt" "..." .Sh DESCRIPTION The call that adds an entry into devfs is -.Nm devfs_add_devsw . +.Nm devfs_add_devswf . .Pp It's arguments are: .Bl -tag -width 8X -.It Ar path -the path to the device within DEVFS -.It Ar name -the name of the device .It Ar devsw the address of the devsw entry the name should access .It Ar minor @@ -59,6 +55,8 @@ Owner UID Owner GID .It Ar perms Permissions (e.g. rwxr--r-- = 0744) +.It Ar fmt +Formatted string including name, and, if applicable, path to device within DEVFS .El .Sh RETURN VALUES It returns a token that can be used to link another name to the same diff --git a/share/man/man9/devfs_link.9 b/share/man/man9/devfs_link.9 index 3480dfd4981f..3b978acf1405 100644 --- a/share/man/man9/devfs_link.9 +++ b/share/man/man9/devfs_link.9 @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: devfs_link.9,v 1.1 1995/12/31 00:08:18 joerg Exp $ +.\" $Id: devfs_link.9,v 1.2 1996/02/12 04:56:58 mpp Exp $ .\" .Dd December 31, 1995 .Os FreeBSD @@ -36,22 +36,21 @@ .Sh SYNOPSIS .Fd #include <sys/devfsext.h> .Ft void * -.Fn devfs_link "char *path" "char *name" "void *original" +.Fn devfs_link "void *original" "char *fmt" "..." .Sh DESCRIPTION The function .Nm takes a token from a previous call to -.Fn devfs_add_devsw +.Fn devfs_add_devswf or .Fn devfs_link as argument, and links it to an alias location denoted by -.Ar path -and -.Ar name . +.Ar fmt +string. .Sh RETURN VALUES It returns a token for the newly linked devfs entry. .Sh SEE ALSO -.Xr devfs_add_devsw 9 +.Xr devfs_add_devswf 9 .Sh HISTORY The function .Nm |