]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man9/devfs_link.9
unfinished sblive driver, playback/mixer only for now - not enabled in
[FreeBSD/FreeBSD.git] / share / man / man9 / devfs_link.9
1 .\"
2 .\" Copyright (c) 1995 Joerg Wunsch
3 .\"
4 .\" All rights reserved.
5 .\"
6 .\" This program is free software.
7 .\"
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
10 .\" are met:
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\"    notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\"    notice, this list of conditions and the following disclaimer in the
15 .\"    documentation and/or other materials provided with the distribution.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
18 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
21 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 .\"
28 .\" $FreeBSD$
29 .\"
30 .Dd December 31, 1995
31 .Os FreeBSD
32 .Dt DEVFS_LINK 9
33 .Sh NAME
34 .Nm devfs_makelink
35 .Nd make a hard link for a devfs entry
36 .Sh SYNOPSIS
37 .Fd #include <sys/types.h>
38 .Fd #include <sys/devfsext.h>
39 .Ft void *
40 .Fn devfs_makelink "void *original" "char *fmt" ...
41 .Sh DESCRIPTION
42 The function
43 .Nm
44 takes a token from a previous call to
45 .Fn devfs_add_devswf
46 or
47 .Fn devfs_makelink
48 as argument, and links it to an alias location denoted by
49 .Ar fmt
50 string.
51 .Sh RETURN VALUES
52 It returns a token for the newly linked devfs entry.
53 .Sh SEE ALSO
54 .Xr devfs_add_devswf 9 ,
55 .Xr devfs_remove_dev 9
56 .Sh HISTORY
57 The function
58 .Nm
59 appeared in
60 .Fx 2.2 .
61 .Sh AUTHORS
62 This man page has been written by
63 .if t J\(:org Wunsch.
64 .if n Joerg Wunsch.