Gets information on the file associated with the specified file descriptor.
#include <sys/types.h> #include <sys/stat.h> int fstat (int handle, struct stat *buffer); int _fstat64 (int handle, struct stat64 *buffer);
handle
buffer
The file-status structure stat is defined in sys/stat.h.
If handle refers to a device, the size and time elements in the stat structure are not meaningful.
This function performs a translation of real-time OS file ownership rights and RT OS access rights to POSIX as described in sys/stat.h.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/sys/stat.h | sys/types.h sys/stat.h |
clib.lib |