summaryrefslogtreecommitdiff
path: root/fs/fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fd.h')
-rw-r--r--fs/fd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fd.h b/fs/fd.h
index 21037c8..4bee666 100644
--- a/fs/fd.h
+++ b/fs/fd.h
@@ -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*);