freebsd-dev/lib/libc/gen
Poul-Henning Kamp 8d25eb2c3a Add code to devname(3) so it can find the names of devices which
were not present when dev_mkdb(8) was run.

First the dev_mkdb(8) database is searched, this caters for non-DEVFS
cases where people have renamed a device.

If that fails we ask the kernel using sysctl kern.devname if the device
driver has put a name in the dev_t.  This covers DEVFS cloned devices.

If that also fails we format a string which isn't entirely useless.
2000-09-09 11:39:59 +00:00
..
__xuname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
_rand48.c
_spinlock_stub.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
alarm.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
alarm.c
arc4random.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
arc4random.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
assert.c
basename.3 Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
basename.c Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
clock.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
clock.c
closedir.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
confstr.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
confstr.c
crypt.c $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
ctermid.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ctermid.c Provide and document ctermid_r function. 1999-11-28 23:28:49 +00:00
daemon.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
daemon.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
devname.3 Add code to devname(3) so it can find the names of devices which 2000-09-09 11:39:59 +00:00
devname.c Add code to devname(3) so it can find the names of devices which 2000-09-09 11:39:59 +00:00
directory.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
dirname.3 Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
dirname.c Import XPG4-compliant basename(3) and dirname(3) from OpenBSD. 2000-08-31 15:56:15 +00:00
disklabel.c Add unsigned char cast to isdigit 1999-11-04 04:46:18 +00:00
dladdr.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
dlfcn.c Add a new function dllockinit() for registering thread locking 1999-12-27 04:44:04 +00:00
dllockinit.3 Change the dllockinit() interface from "experimental" to 2000-07-08 04:17:28 +00:00
dlopen.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
drand48.c
erand48.c
err.3 Describe errx/warnx in comparison to errc/warnc/err/warn. 2000-05-23 19:52:35 +00:00
err.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
errlst.c Add missing strings. 1999-04-24 18:28:24 +00:00
exec.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
exec.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
fnmatch.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
fnmatch.c
frexp.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
fstab.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
ftok.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ftok.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fts-compat.c Fix style bugs (including ones introduced from OpenBSD). 2000-08-16 23:37:16 +00:00
fts-compat.h
fts.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
fts.c Fix style bugs (including ones introduced from OpenBSD). 2000-08-16 23:37:16 +00:00
getbootfile.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getbootfile.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getbsize.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getbsize.c
getcap.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getcap.c Fix a memory leak in getent() that occurred when the requested entry 2000-05-21 02:55:09 +00:00
getcwd.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
getcwd.c Remove the SIGSYS handler and wrapper around the __getcwd() syscall. 2000-09-05 09:35:36 +00:00
getdiskbyname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getdomainname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getdomainname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getfsent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getgrent.3 Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
getgrent.c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
getgrouplist.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getgrouplist.c
gethostname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
gethostname.c
getloadavg.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getloadavg.c
getlogin.c Provide the getlogin_r function. 1999-11-28 22:41:38 +00:00
getmntinfo.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getmntinfo.c
getnetgrent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getnetgrent.c Add unsigned char cast to isspace arg 1999-11-04 04:16:28 +00:00
getobjformat.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getobjformat.c Initialize a var to quiet -Wall. 1999-12-18 04:47:43 +00:00
getosreldate.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpagesize.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getpagesize.c
getpass.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getpass.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
getpwent.3 Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
getpwent.c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
getttyent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getttyent.c Add unsigned char cast to isspace arg 1999-11-04 04:16:28 +00:00
getusershell.3 Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
getusershell.c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
getvfsbyname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getvfsbyname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getvfsent.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
getvfsent.c vfsload maps into kldload only now, no more fork/exec of modload(8). 1999-04-19 14:28:45 +00:00
glob.3 Use suggested by mdoc(7) style section name (ERROR -> ERRORS) 2000-05-06 12:02:18 +00:00
glob.c
initgroups.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
initgroups.c
isatty.c
isinf.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
jrand48.c
lcong48.c
ldexp.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
lockf.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
lockf.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
lrand48.c
Makefile.inc Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
modf.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
mrand48.c
msgctl.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
msgctl.c
msgget.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
msgget.c
msgrcv.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
msgrcv.c
msgsnd.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
msgsnd.c
nice.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
nice.c
nlist.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
nlist.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
nrand48.c
ntp_gettime.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
opendir.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
pause.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
pause.c Take care to avoid having "strong" and "weak" symbols of the same name in 2000-03-16 02:14:41 +00:00
popen.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
popen.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
posixshm.c Remove cancellation point propagation. 2000-04-26 23:17:17 +00:00
psignal.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
psignal.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
pw_scan.c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
pw_scan.h Add nsswitch support. By creating an /etc/nsswitch.conf file, you can 2000-09-06 18:16:48 +00:00
pwcache.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
pwcache.c
raise.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
raise.c
rand48.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
rand48.h
readdir.c #include <string.h> for memcpy() prototype 2000-06-03 00:27:54 +00:00
rewinddir.c
rfork_thread.3 Add a skeleton rfork_thread(3) man page. 2000-07-29 12:12:39 +00:00
scandir.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
scandir.c
seed48.c
seekdir.c
sem_destroy.3 Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
sem_getvalue.3 Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
sem_init.3 Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
sem_open.3 Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
sem_post.3 Make sem_post() safe to call from within a signal handler, as required by 2000-08-01 21:19:09 +00:00
sem_wait.3 Change my email address in the copyright notices for the sake of consistency 2000-07-18 01:38:19 +00:00
semconfig.c
semctl.c
semget.c
semop.c
setdomainname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sethostname.c
setjmp.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
setjmperr.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
setmode.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
setmode.c Add unsigned char cast to isdigit 1999-11-04 04:46:18 +00:00
setproctitle.3 setproctitle() requires unistd.h and not libutil.h/-lutil 2000-09-02 02:25:34 +00:00
setproctitle.c If the format string passed to setproctitle begins with a '-' 2000-08-01 06:37:09 +00:00
shm_open.3 Spell MAP_NOSYNC correctly. 2000-04-23 15:15:15 +00:00
shmat.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmctl.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmdt.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmget.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
siginterrupt.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
siginterrupt.c
siglist.c Add a strsignal(3) (like strerror(3)) for libc compatability with other 1999-05-18 04:48:58 +00:00
signal.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
signal.c
sigsetops.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
sigsetops.c o Add $FreeBSD$ as a rcsid instead of in a comment 1999-10-02 19:37:14 +00:00
sleep.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
sleep.c Take care to avoid having "strong" and "weak" symbols of the same name in 2000-03-16 02:14:41 +00:00
srand48.c
stringlist.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
stringlist.c
strtofflags.3 Modify strtofflags so that it returns a malloced string instead of a 2000-06-17 11:09:24 +00:00
strtofflags.c Modify strtofflags so that it returns a malloced string instead of a 2000-06-17 11:09:24 +00:00
sysconf.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
sysconf.c
sysctl.3 Remove the reference to KERN_UPDATEINTERVAL and syncer(4), since 2000-07-22 15:36:36 +00:00
sysctl.c Make the implementation and documentation agree. Specifically: 1999-01-06 18:11:53 +00:00
sysctlbyname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
syslog.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
syslog.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
tcgetpgrp.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
tcsendbreak.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
tcsetattr.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
tcsetpgrp.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
telldir.c
termios.c Take care to avoid having "strong" and "weak" symbols of the same name in 2000-03-16 02:14:41 +00:00
time.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
time.c
times.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
times.c
timezone.3 Minor mdoc cleanup. 2000-05-05 02:21:45 +00:00
timezone.c
ttyname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ttyname.c
ttyslot.c
tzset.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ualarm.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
ualarm.c
uname.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
uname.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
unvis.3 Remove trailing whitespace only. 2000-07-03 08:31:02 +00:00
unvis.c Add URI encoding to the vis/unvis routines courtesy of VIS_HTTPSTYLE. 2000-07-01 15:55:49 +00:00
usleep.3 Use `Er' variable to define first column width in ERRORS section. 2000-05-06 12:07:59 +00:00
usleep.c Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 2000-01-27 23:07:25 +00:00
utime.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
utime.c
valloc.3 Introduce ".Lb" macro to libc manpages. 2000-04-21 09:42:15 +00:00
valloc.c
vis.3 Remove trailing whitespace only. 2000-07-03 08:31:02 +00:00
vis.c Style fixes. 2000-07-01 17:49:34 +00:00
wait3.c
wait.c Take care to avoid having "strong" and "weak" symbols of the same name in 2000-03-16 02:14:41 +00:00
waitpid.c Take care to avoid having "strong" and "weak" symbols of the same name in 2000-03-16 02:14:41 +00:00