/trunk/uspace/lib/libc/include/vfs/vfs.h |
---|
55,13 → 55,16 |
extern int mount(const char *, const char *, const char *, const char *, |
unsigned int); |
extern void stdio_init(int filc, fdi_node_t *filv[]); |
extern void stdio_done(void); |
extern int open_node(fdi_node_t *, int); |
extern int fd_phone(int); |
extern void fd_node(int, fdi_node_t *); |
extern int fd_node(int, fdi_node_t *); |
extern FILE *fopen_node(fdi_node_t *, const char *); |
extern int fphone(FILE *); |
extern void fnode(FILE *, fdi_node_t *); |
extern int fnode(FILE *, fdi_node_t *); |
#endif |
/trunk/uspace/lib/libc/include/stdio.h |
---|
37,6 → 37,7 |
#include <sys/types.h> |
#include <stdarg.h> |
#include <libadt/list.h> |
#define EOF (-1) |
55,6 → 56,9 |
#endif |
typedef struct { |
/** Linked list pointer. */ |
link_t link; |
/** Underlying file descriptor. */ |
int fd; |
71,9 → 75,6 |
int phone; |
} FILE; |
extern FILE stdin_null; |
extern FILE stdout_klog; |
extern FILE *stdin; |
extern FILE *stdout; |
extern FILE *stderr; |