diff options
| author | Jake Mannens <jake72360@gmail.com> | 2018-07-25 17:18:18 +1000 |
|---|---|---|
| committer | Jake Mannens <jake72360@gmail.com> | 2018-07-25 17:18:18 +1000 |
| commit | 9400716f56057d9f2fcd7f7ad033dfcb131105a2 (patch) | |
| tree | af0e8a7fecf0231e8bd77e7470ad0d934b519778 /include/unistd.h | |
| parent | 45819c035d0b92275de68e559f066cbe50996926 (diff) | |
Added missing prototype for puts() in stdio.h.
Implemented a basic serial interface using COM0 which can be accessed
with the system call sys_puts as well as the library functions rsputs()
and rsprintf().
Renamed puts() in con.c to con_puts() and made the function static to
avoid interference with the library function puts().
Diffstat (limited to 'include/unistd.h')
| -rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 3b144f6..a784e22 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -10,6 +10,7 @@ typedef uint16_t pid_t; #define __SYS_getpid 2 #define __SYS_getpdir 3 #define __SYS_signal 4 +#define __SYS_rsputs 5 #define _syscall0(type, name) \ type name(void) { \ |
