diff options
| author | Miguel <m.i@gmx.at> | 2018-10-09 16:21:32 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-09 16:21:32 +0200 |
| commit | 63e5017d9863d4ed215782e469e8ee2c6ff8473d (patch) | |
| tree | f12d149ffa34e6a39f4bce4fe9a001e4ca8c6027 /fs/fd.h | |
| parent | a6a11437a390fb7e95fe995214d82bf5dbfe1eaf (diff) | |
fix pipers
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*); |
