Staging
v0.5.1
https://github.com/python/cpython
Revision 023cd00ccc9bae7b26ad2dfd7b2d887c2f7b8e3d authored by Neal Norwitz on 28 March 2008, 04:41:34 UTC, committed by Neal Norwitz on 28 March 2008, 04:41:34 UTC
1 parent 8b9091f
Raw File
Tip revision: 023cd00ccc9bae7b26ad2dfd7b2d887c2f7b8e3d authored by Neal Norwitz on 28 March 2008, 04:41:34 UTC
Allow use of other ports so the test can pass if 9091 is in use
Tip revision: 023cd00
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