Staging
v0.5.1
https://github.com/python/cpython
Revision 868c4f09eca087131bfcbb98090eebfa91b96849 authored by Jack Jansen on 18 March 2002, 15:54:29 UTC, committed by Jack Jansen on 18 March 2002, 15:54:29 UTC
Lurking bug found by patch for 531291: FSSpecs should be passed to
Py_BuildValue by address, not by value.
1 parent 45465f2
Raw File
Tip revision: 868c4f09eca087131bfcbb98090eebfa91b96849 authored by Jack Jansen on 18 March 2002, 15:54:29 UTC
Backport of _CFmodule.c 1.11 and _Winmodule 1.8:
Tip revision: 868c4f0
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