cleanup
This commit is contained in:
parent
8709ada140
commit
9fbf7e1914
|
@ -58,12 +58,14 @@ struct pic_port *pic_stdin(pic_state *);
|
||||||
struct pic_port *pic_stdout(pic_state *);
|
struct pic_port *pic_stdout(pic_state *);
|
||||||
struct pic_port *pic_stderr(pic_state *);
|
struct pic_port *pic_stderr(pic_state *);
|
||||||
|
|
||||||
|
/* generic file constructor */
|
||||||
|
pic_file *pic_funopen(void *cookie, int (*read)(void *, char *, int), int (*write)(void *, const char *, int), long (*seek)(void *, long, int), int (*close)(void *));
|
||||||
|
|
||||||
|
/* buffering */
|
||||||
int pic_setvbuf(pic_file *, char *, int, size_t);
|
int pic_setvbuf(pic_file *, char *, int, size_t);
|
||||||
int pic_fflush(pic_file *);
|
int pic_fflush(pic_file *);
|
||||||
int pic_ffill(pic_file *);
|
int pic_ffill(pic_file *);
|
||||||
|
|
||||||
pic_file *pic_funopen(void *cookie, int (*read)(void *, char *, int), int (*write)(void *, const char *, int), long (*seek)(void *, long, int), int (*close)(void *));
|
|
||||||
|
|
||||||
/* file access */
|
/* file access */
|
||||||
pic_file *pic_fopen(const char *, const char *);
|
pic_file *pic_fopen(const char *, const char *);
|
||||||
int pic_fclose(pic_file *);
|
int pic_fclose(pic_file *);
|
||||||
|
|
Loading…
Reference in New Issue