diff options
| author | Jake Mannens <jakem_5@hotmail.com> | 2020-02-24 17:39:40 +1100 |
|---|---|---|
| committer | Jake Mannens <jakem_5@hotmail.com> | 2020-02-24 17:39:40 +1100 |
| commit | 07c004bf3cf7fcb6e875bddb1a7fb0793377ebfb (patch) | |
| tree | 6135939912e3ba14cebd47c7fd0d64522c3ed92e /include/stdio.h | |
| parent | a77b79c1959a134764b88cfe70411d109c6c0354 (diff) | |
Changed read() and write() calls to now accept an integer file
descriptor as their first parameter. read()/write() calls to descriptors
other than stdin/stdout respectively, are currently discared as the file
table has yet to be fully implemented.
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h index 5387db0..9a599fe 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -14,8 +14,8 @@ int sprintf(char*, char*, ...); int vsprintf(char*, char*, va_list); -ssize_t read(void*, size_t); -ssize_t write(void*, size_t); +ssize_t read(int, void*, size_t); +ssize_t write(int, void*, size_t); int ctty(int); |
