Deleted Added
full compact
devtoname.9 (206622) devtoname.9 (230330)
1.\" Copyright (c) 1999 Chris Costello
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1999 Chris Costello
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man9/devtoname.9 206622 2010-04-14 19:08:06Z uqs $
25.\" $FreeBSD: head/share/man/man9/devtoname.9 230330 2012-01-19 09:51:07Z ed $
26.\"
26.\"
27.Dd September 25, 1999
27.Dd January 19, 2012
28.Dt DEVTONAME 9
29.Os
30.Sh NAME
31.Nm devtoname
28.Dt DEVTONAME 9
29.Os
30.Sh NAME
31.Nm devtoname
32.Nd "converts dev_t data into a string indicating the device name"
32.Nd "converts character device into a string indicating the device name"
33.Sh SYNOPSIS
34.In sys/param.h
35.In sys/conf.h
36.Ft const char *
33.Sh SYNOPSIS
34.In sys/param.h
35.In sys/conf.h
36.Ft const char *
37.Fn devtoname "dev_t dev"
37.Fn devtoname "struct cdev *dev"
38.Sh DESCRIPTION
39The
40.Fn devtoname
41function returns a pointer to the name of the device passed to it.
42The name is whatever was set to it in
43.Fn make_dev .
44If no name is associated with
45.Va dev ,

--- 12 unchanged lines hidden ---
38.Sh DESCRIPTION
39The
40.Fn devtoname
41function returns a pointer to the name of the device passed to it.
42The name is whatever was set to it in
43.Fn make_dev .
44If no name is associated with
45.Va dev ,

--- 12 unchanged lines hidden ---