Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   atatat
Date:           Thu Dec 16 03:54:57 UTC 2004

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/include: stdlib.h
        src/lib/libc/gen: Makefile.inc
Added Files:
        src/lib/libc/gen: getdevmajor.3 getdevmajor.c

Log Message:
Add a function called getdevmajor().

It tells you the major device number for whatever character or block
device you ask it.  This is sort of the inverse of devname(3) but not
quite, since it's backed by the kernel (sysctl's kern.drivers
information) and not a database cobbled together from the contents of
the filesystem.


To generate a diff of this commit:
cvs rdiff -r1.744 -r1.745 src/distrib/sets/lists/comp/mi
cvs rdiff -r1.67 -r1.68 src/include/stdlib.h
cvs rdiff -r1.136 -r1.137 src/lib/libc/gen/Makefile.inc
cvs rdiff -r0 -r1.1 src/lib/libc/gen/getdevmajor.3 \
    src/lib/libc/gen/getdevmajor.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index