diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-11 10:31:49 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-11 10:31:49 +0000 |
commit | 237890249500ead0799bc56cdcb861e3faec8f18 (patch) | |
tree | a9efe8598802d472399b0cdf05f3614f98de1649 /share/man/man9/major.9 | |
parent | 4bc6a387c22aa9e3c0344554005f2394db575b13 (diff) | |
download | src-237890249500ead0799bc56cdcb861e3faec8f18.tar.gz src-237890249500ead0799bc56cdcb861e3faec8f18.zip |
mdoc(7) police: fixed markup and some content typos.
Notes
Notes:
svn path=/head/; revision=79584
Diffstat (limited to 'share/man/man9/major.9')
-rw-r--r-- | share/man/man9/major.9 | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/share/man/man9/major.9 b/share/man/man9/major.9 index c00a64e65581..be9e2f7c2e6d 100644 --- a/share/man/man9/major.9 +++ b/share/man/man9/major.9 @@ -31,26 +31,29 @@ .Os .Sh NAME .Nm major -.Nd "Returns the major number for the device" +.Nd "returns the major number for the device" .Sh SYNOPSIS -.Fd #include <sys/systm.h> +.In sys/systm.h .Ft int -.Fo major -.Fa "dev_t dev" -.Fc +.Fn major "dev_t dev" .Sh DESCRIPTION The -.Nm +.Fn major function returns the major device number for the given device. .Pp -Its argument is: -.Bl -tag -.It Ar dev +Its argument is: +.Bl -tag -xwidth ".Fa dev" +.It Fa dev The device whose major device number should be returned. +.El .Sh RETURN VALUES -An integer greater than zero and less than NUMCDEVSW, or NOUDEV +An integer greater than zero and less than +.Dv NUMCDEVSW , +or +.Dv NOUDEV if the device is invalid. .Sh SEE ALSO .Xr minor 9 .Sh AUTHORS -This man page was written by Chad David. +This man page was written by +.An Chad David . |