Staging
v0.5.1
https://github.com/python/cpython
Revision 49148cf5287e34a399ecfc1958d62d2d83339f64 authored by Chris Withers on 04 September 2009, 16:51:16 UTC, committed by Chris Withers on 04 September 2009, 16:51:16 UTC
1 parent cf4a702
Raw File
Tip revision: 49148cf5287e34a399ecfc1958d62d2d83339f64 authored by Chris Withers on 04 September 2009, 16:51:16 UTC
Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings.
Tip revision: 49148cf
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