Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 1 | /* Fudge unix isatty and fileno for RISCOS */ |
| 2 | |
| 3 | #include <stdio.h> |
Guido van Rossum | e877f8b | 2001-10-24 20:13:15 +0000 | [diff] [blame] | 4 | #include <time.h> |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 5 | |
| 6 | int fileno(FILE *f); |
| 7 | int isatty(int fn); |
| 8 | unsigned int unixtime(unsigned int ld,unsigned int ex); |
Guido van Rossum | e877f8b | 2001-10-24 20:13:15 +0000 | [diff] [blame] | 9 | int acorntime(unsigned int *ex, unsigned int *ld, time_t ut); |
| 10 | |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 11 | int isdir(char *fn); |
| 12 | int isfile(char *fn); |
Guido van Rossum | e877f8b | 2001-10-24 20:13:15 +0000 | [diff] [blame] | 13 | int object_exists(char *fn); |
Guido van Rossum | 228d807 | 2001-03-02 05:58:11 +0000 | [diff] [blame] | 14 | |