Files
oldlinux-files/Minix/1.7.5/MANUALS/CAT2/FSTAT.2
2024-02-19 00:21:39 -05:00

23 lines
372 B
Groff

SYSTEM CALLS
fstat - read an inode
INVOCATION
#include <sys/types.h>
#include <stat.h>
fstat( desc, s )
int desc;
struct stat *s;
EXPLANATION
Fstat(2) reads the inode for the file descriptor <desc>.
See stat(2) for a description of the structure pointed to
by <s>.
RESULTS
0 : Ok.
-1 : Error.
REFERENCES
stat(2)