Searched hist:188498 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/usr.bin/stat/
H A Dstat.cdiff 188498 Wed Feb 11 18:49:46 MST 2009 ed 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)

Completed in 57 milliseconds