1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/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 Let bsd.prog.mk set SRCS and MAN to their default values. 2005-01-28 16:08:11 +00:00
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