NetBSD/bin/ps
joerg 1907ec3a61 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
2012-06-03 21:42:44 +00:00
..
extern.h
fmt.c
keyword.c
Makefile
nlist.c
print.c Use C89 function definitions 2012-03-20 18:42:28 +00:00
ps.1 Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +00:00
ps.c Push logic to convert a ttyname to a device number into its own 2012-05-07 13:14:31 +00:00
ps.h