File: stdlib.h

package info (click to toggle)
yaboot 1.3.13a-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 1,232 kB
  • ctags: 2,756
  • sloc: ansic: 9,548; sh: 2,831; asm: 343; makefile: 236
file content (24 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * include/stdlib.h
 *
 */
#ifndef __STDLIB_H
#define __STDLIB_H

#include "stdarg.h"

extern void malloc_init(void *bottom, unsigned long size);
extern void malloc_dispose(void);

extern void *malloc(unsigned int size);
extern void *realloc(void *ptr, unsigned int size);
extern void free (void *m);
extern void mark (void **ptr);
extern void release (void *ptr);

extern int sprintf(char * buf, const char *fmt, ...);
extern int vsprintf(char *buf, const char *fmt, va_list args);
extern long simple_strtol(const char *cp,char **endp,unsigned int base);
#define strtol(x,y,z) simple_strtol(x,y,z)

#endif