basekernel/library/stdlib.c

24 lines
431 B
C
Raw Normal View History

2024-10-14 23:14:17 +02:00
#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 );
2025-01-22 23:34:27 +01:00
#ifdef LIBRARY_STDLIB_EXT
#include "library_stdlib_ext.c"
#endif