source: bootcd/isolinux/syslinux-6.03/dos/stdlib.h

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 490 bytes
RevLine 
[e16e8f2]1#ifndef STDLIB_H
2#define STDLIB_H
3
4typedef int ssize_t;
5/* size_t is defined elsewhere */
6#if __SIZEOF_POINTER__ == 4
7typedef unsigned int size_t;
8#elif __SIZEOF_POINTER__ == 8
9typedef unsigned long size_t;
10#else
11#error "unsupported architecture"
12#endif
13
14void __attribute__ ((noreturn)) exit(int);
15
16void *malloc(size_t);
17void *calloc(size_t, size_t);
18void free(void *);
19
20extern unsigned long int strtoul(const char *nptr,
21                                  char **endptr, int base);
22
23#endif
Note: See TracBrowser for help on using the repository browser.