freebsd-skq/usr.bin/stat
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
..
Makefile
stat.1 The referenced section name is 'Formats', not 'FORMATS'. 2008-04-29 07:35:31 +00:00
stat.c Let stat(1) use fdevname(3). 2009-02-11 20:36:17 +00:00