home *** CD-ROM | disk | FTP | other *** search
- /* fstat.c (emx+gcc) -- Copyright (c) 1990-1993 by Eberhard Mattes */
-
- #include <sys/emx.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <io.h>
- #include <time.h>
-
- int fstat (int handle, struct stat *buffer)
- {
- int rc;
-
- rc = __fstat (handle, buffer);
- if (rc == 0)
- {
- if (!_tzset_flag) tzset ();
- buffer->st_atime += timezone;
- buffer->st_mtime += timezone;
- buffer->st_ctime += timezone;
- }
- return (rc);
- }
-