Ed Schouten 42dc9c5abd Let stat(1) use fdevname(3).
Because we now have a reliable library function that converts file
descriptors to character device names, let stat(1) use this. This means
it can now do the following:

	$ stat -f %N
	/dev/pts/0

I've changed main() to set file properly, so output() is never called
with file set to NULL.

Approved by:	dougb (older version, still used devname)
2009-02-11 20:36:17 +00:00
..
2008-11-18 14:05:11 +00:00
2008-11-19 00:14:15 +00:00
2009-01-16 15:00:30 +00:00
2009-02-03 15:27:29 +00:00
2009-02-11 20:36:17 +00:00
2009-02-08 22:04:17 +00:00
2008-12-26 11:11:30 +00:00
2008-11-18 21:06:49 +00:00