Idris-dev/rts/idris_stdfgn.h

29 lines
533 B
C
Raw Normal View History

#ifndef _IDRISSTDFGN_H
#define _IDRISSTDFGN_H
// A collection of useful standard functions to be used by the prelude.
void putStr(char* str);
//char* readStr();
void* fileOpen(char* f, char* mode);
void fileClose(void* h);
int fileEOF(void* h);
int fileError(void* h);
void fputStr(void*h, char* str);
2014-02-21 03:30:16 +04:00
void* do_popen(const char* cmd, const char* mode);
int fpoll(void* h);
int idris_eqPtr(void* x, void* y);
int isNull(void* ptr);
void* idris_stdin();
char* getEnvPair(int i);
2014-02-28 14:18:41 +04:00
int idris_time();
void idris_forceGC();
#endif