Staging
v0.8.1
https://github.com/python/cpython
Revision d254ca8813986ac72f39fdac90fdf8f63904c28e authored by Martin v. Löwis on 02 March 2008, 20:32:57 UTC, committed by Martin v. Löwis on 02 March 2008, 20:32:57 UTC
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
1 parent 80bdb48
Raw File
Tip revision: d254ca8813986ac72f39fdac90fdf8f63904c28e authored by Martin v. Löwis on 02 March 2008, 20:32:57 UTC
Backport of r61180:
Tip revision: d254ca8
unixstuff.h
/* 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);
int acorntime(unsigned int *ex, unsigned int *ld, time_t ut);

int isdir(char *fn);
int isfile(char *fn);
int object_exists(char *fn);

back to top