File: unixstuff.h

package info (click to toggle)
python2.7 2.7.18-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,660 kB
  • sloc: python: 470,452; ansic: 443,657; sh: 17,616; asm: 14,304; makefile: 4,914; objc: 761; exp: 499; javascript: 314; cpp: 128; xml: 76
file content (14 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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);