diff options
Diffstat (limited to 'libgloss/ms1/fstat.c')
-rw-r--r-- | libgloss/ms1/fstat.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libgloss/ms1/fstat.c b/libgloss/ms1/fstat.c new file mode 100644 index 000000000..1d7d2dcf5 --- /dev/null +++ b/libgloss/ms1/fstat.c @@ -0,0 +1,14 @@ +#include <_ansi.h> +#include <sys/types.h> +#include <sys/stat.h> +#include "trap.h" + + +int +fstat (int file, + struct stat *st) +{ + st->st_mode = S_IFCHR; + st->st_blksize = 4096; + return 0; +} |