|
Last change
on this file was
444,
checked in by satin@…, 7 years ago
|
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
|
File size:
727 bytes
|
| Line | |
|---|
| 1 | /* stat stub for MMIXware. |
|---|
| 2 | |
|---|
| 3 | Copyright (C) 2001 Hans-Peter Nilsson |
|---|
| 4 | |
|---|
| 5 | Permission to use, copy, modify, and distribute this software is |
|---|
| 6 | freely granted, provided that the above copyright notice, this notice |
|---|
| 7 | and the following disclaimer are preserved with no changes. |
|---|
| 8 | |
|---|
| 9 | THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
|---|
| 10 | IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
|---|
| 11 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|---|
| 12 | PURPOSE. */ |
|---|
| 13 | |
|---|
| 14 | #include <_ansi.h> |
|---|
| 15 | #include <sys/types.h> |
|---|
| 16 | #include <sys/stat.h> |
|---|
| 17 | #include "sys/syscall.h" |
|---|
| 18 | #include <errno.h> |
|---|
| 19 | |
|---|
| 20 | int |
|---|
| 21 | _stat (const char *path, struct stat *st) |
|---|
| 22 | |
|---|
| 23 | { |
|---|
| 24 | UNIMPLEMENTED (("path: %s, st: %p", path, st)); |
|---|
| 25 | errno = ENOSYS; |
|---|
| 26 | return -1; |
|---|
| 27 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.