Staging
v0.5.1
https://github.com/python/cpython
Revision 9f94e52e8d38092520a3bfb1bf1ef9cbb0836584 authored by Benjamin Peterson on 07 November 2019, 15:27:03 UTC, committed by GitHub on 07 November 2019, 15:27:03 UTC
1 parent f32bcf8
Raw File
Tip revision: 9f94e52e8d38092520a3bfb1bf1ef9cbb0836584 authored by Benjamin Peterson on 07 November 2019, 15:27:03 UTC
bpo-38730: Remove usage of stpncpy as it's not supported on MSVC 2008. (GH-17081)
Tip revision: 9f94e52
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