diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-13 20:09:53 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-13 20:09:53 +0200 |
commit | 7d356b1ddab0150b7347a5952e3bff2a04704fd4 (patch) | |
tree | c26a5b9c45d970dda011f9923966233a4f70669b /src/libc/stdlib.h | |
parent | 7162c5eed91a8e22a4b768110011df28bfd86455 (diff) | |
download | abaos-7d356b1ddab0150b7347a5952e3bff2a04704fd4.tar.gz abaos-7d356b1ddab0150b7347a5952e3bff2a04704fd4.tar.bz2 |
added an exit function
added Linux syscall stubs for exit and write
adapted all tests
added a printf test
made stdio work on Linux or AbaOs syscalls
Diffstat (limited to 'src/libc/stdlib.h')
-rw-r--r-- | src/libc/stdlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libc/stdlib.h b/src/libc/stdlib.h index 9ff28a3..5b2521f 100644 --- a/src/libc/stdlib.h +++ b/src/libc/stdlib.h @@ -7,7 +7,8 @@ char *itoa( int v, char *s, int base ); -void abort( void ); +void __attribute__( (noreturn ) ) exit( int status ); +void __attribute__( (noreturn ) ) abort( void ); void *malloc( size_t size ); void free( void *p ); |