diff options
author | Guido van Rossum <guido@python.org> | 2001-10-24 20:13:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-24 20:13:15 (GMT) |
commit | e877f8ba3306be0c76476c1f841d6f5388b675b7 (patch) | |
tree | 58535b7aab583873d072c7f76849ccbc7141f852 /RISCOS/unixstuff.h | |
parent | 622cc03f0b5ba8e8e51aaa73c137350fe81564a8 (diff) | |
download | cpython-e877f8ba3306be0c76476c1f841d6f5388b675b7.zip cpython-e877f8ba3306be0c76476c1f841d6f5388b675b7.tar.gz cpython-e877f8ba3306be0c76476c1f841d6f5388b675b7.tar.bz2 |
SF patch #474590 -- RISC OS support
Diffstat (limited to 'RISCOS/unixstuff.h')
-rw-r--r-- | RISCOS/unixstuff.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/RISCOS/unixstuff.h b/RISCOS/unixstuff.h index 75104c2..90c732b1 100644 --- a/RISCOS/unixstuff.h +++ b/RISCOS/unixstuff.h @@ -1,13 +1,14 @@ /* Fudge unix isatty and fileno for RISCOS */ #include <stdio.h> +#include <time.h> int fileno(FILE *f); int isatty(int fn); unsigned int unixtime(unsigned int ld,unsigned int ex); -/*long PyOS_GetLastModificationTime(char *name);*/ -int unlink(char *fname); +int acorntime(unsigned int *ex, unsigned int *ld, time_t ut); + int isdir(char *fn); int isfile(char *fn); -int exists(char *fn); +int object_exists(char *fn); |