#include <reent.h>#include <errno.h>#include <sys/stat.h>Go to the source code of this file.
Functions | |
| int | _fstat_r (struct _reent *p_reent, int fd, struct stat *p_stat) |
newlib - fstat.
Definition in file fstat_r.c.
| int _fstat_r | ( | struct _reent * | p_reent, | |
| int | fd, | |||
| struct stat * | p_stat | |||
| ) |
This function has to be implemented if you want to use fstat in your programs.
Get the status of an open file.
| p_reent | Pointer to a structure that will receive the return value. | |
| fd | Handle of file to get status of. | |
| p_stat | Address otfstatus structure to fill. |
1.6.2