Debian Codegraph @

terps/tads/glk/osemglken.h

raw symbols SCIP
1 /* Emglken implementation */
2
3 #ifndef OSEMGLKEN_H
4 #define OSEMGLKEN_H
5
6 #include "glk.h"
7 #include "osifctyp.h"
8
9 /* File handle structure for osfxxx functions. */
10 typedef struct glk_stream_struct osfildef;
11
12 int osfacc(const char *fname);
13 void osfcls(osfildef *fp);
14 int osfdel(const char *fname);
15 int osfflush(osfildef *fp);
16 int osfgetc(osfildef *fp);
17 char *osfgets(char *buf, size_t len, osfildef *fp);
18 osfildef *osfoprb(const char *fname, os_filetype_t typ);
19 osfildef *osfoprt(const char *fname, os_filetype_t typ);
20 osfildef *osfoprwtb(const char *fname, os_filetype_t typ);
21 osfildef *osfoprwtt(const char *fname, os_filetype_t typ);
22 osfildef *osfopwb(const char *fname, os_filetype_t typ);
23 osfildef *osfopwt(const char *fname, os_filetype_t typ);
24 long osfpos(osfildef *fp);
25 int osfputs(const char *buf, osfildef *fp);
26 int osfrb(osfildef *fp, void *buf, int bufl);
27 size_t osfrbc(osfildef *fp, void *buf, size_t bufl);
28 int osfseek(osfildef *fp, long pos, int mode);
29 int osfwb(osfildef *fp, const void *buf, int bufl);
30 int os_rename_file(const char *oldname, const char *newname);
31
32 #endif /* OSEMGLKEN_H */