diff options
Diffstat (limited to 'fs/fd.h')
| -rw-r--r-- | fs/fd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,7 @@ typedef struct fd_struct bool (*write)(struct fd_struct*,uint8_t); uint8_t (*read)(struct fd_struct*); bool (*has)(struct fd_struct*); + bool (*can_write)(struct fd_struct*); bool (*eof)(struct fd_struct*); bool (*close)(struct fd_struct*); struct fd_struct (*dupl)(struct fd_struct *); @@ -34,6 +35,7 @@ uint8_t fd_read(fd*); bool fd_has(fd*); bool fd_eof(fd*); bool fd_write(fd*,uint8_t); +bool fd_can_write(fd*); bool fd_close(fd*); fd fd_dupl(fd*); |
