summaryrefslogblamecommitdiff
path: root/src/kernel/lib/std.h
blob: 7aaf1b914532b42b050565070e826213f6d5eac8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                              

                                                                  
      
#ifndef DEF_LIB_STD_H
#define DEF_LIB_STD_H

// Functions enabling the use of dlmalloc code

#include <types.h>  /* For size_t */

void abort();
#define sbrk ksbrk
#define brk kbrk

extern int errno;

char *strdup(const char *src); // uses malloc, so needs to be here

#endif