aboutsummaryrefslogblamecommitdiff
path: root/src/lib/include/stdlib.h
blob: 53aef80f7609d6971e4b94ba2ff6e4a4f4cf3b2b (plain) (tree)
1
2
3

            
                          












                                           

                                                     









                                         
#pragma once

#include <kogata/malloc.h>

#define EXIT_SUCCESS 0
#define EXIT_FAILURE 255

int rand(void);
//int rand_r(unsigned int *seedp);
void srand(unsigned int seed);

#define RAND_MAX 1

void abort() __attribute__((__noreturn__));


double strtod(const char *nptr, const char **endptr);
float strtof(const char *nptr, const char **endptr);

char *getenv(const char *name);

int system(const char *command);

int abs(int j);



/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/