Mon 14 Oct 23:14:00 CEST 2024
This commit is contained in:
parent
79a03224c8
commit
1e2772c720
20
library/stdlib.c
Normal file
20
library/stdlib.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
#include "library/stdlib.h"
|
||||
#include "library/syscalls.h"
|
||||
|
||||
void exit( int code )
|
||||
{
|
||||
syscall_process_exit(code);
|
||||
|
||||
}
|
||||
|
||||
/* Some easy things yet to be implemented. */
|
||||
|
||||
int rand();
|
||||
int srand( int );
|
||||
int system( const char *str );
|
||||
int sleep( int seconds );
|
||||
int usleep( int usec );
|
||||
int time( int *t );
|
||||
struct timeval;
|
||||
int gettimeofday( struct timeval *tval, void *arg );
|
Loading…
Reference in New Issue
Block a user