devtoname.9 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) | devtoname.9 (a0942a6000928264f437f48cc6499faa97ed054f) |
---|---|
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. --- 24 unchanged lines hidden (view full) --- 33.Sh SYNOPSIS 34.In sys/param.h 35.In sys/conf.h 36.Ft const char * 37.Fn devtoname "dev_t dev" 38.Sh DESCRIPTION 39The 40.Fn devtoname | 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. --- 24 unchanged lines hidden (view full) --- 33.Sh SYNOPSIS 34.In sys/param.h 35.In sys/conf.h 36.Ft const char * 37.Fn devtoname "dev_t dev" 38.Sh DESCRIPTION 39The 40.Fn devtoname |
41function returns a pointer to the name of the device passed to it. The name 42is whatever was set to it in | 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 , 46a pointer to a string consisting of a 47.Dq # 48followed by 49.Dq Va major Ns / Ns Va minor 50as it applies to 51.Va dev 52is returned. 53.Sh HISTORY 54The 55.Fn devtoname 56interface first appeared in 57.Fx 4.0 | 43.Fn make_dev . 44If no name is associated with 45.Va dev , 46a pointer to a string consisting of a 47.Dq # 48followed by 49.Dq Va major Ns / Ns Va minor 50as it applies to 51.Va dev 52is returned. 53.Sh HISTORY 54The 55.Fn devtoname 56interface first appeared in 57.Fx 4.0 |