|
|
1.1 ! root 1: /****************************************************************************** ! 2: * Copyright (c) 2004, 2008 IBM Corporation ! 3: * All rights reserved. ! 4: * This program and the accompanying materials ! 5: * are made available under the terms of the BSD License ! 6: * which accompanies this distribution, and is available at ! 7: * http://www.opensource.org/licenses/bsd-license.php ! 8: * ! 9: * Contributors: ! 10: * IBM Corporation - initial implementation ! 11: *****************************************************************************/ ! 12: ! 13: #ifndef _STDLIB_H ! 14: #define _STDLIB_H ! 15: ! 16: #include "stddef.h" ! 17: ! 18: #define RAND_MAX 32767 ! 19: ! 20: ! 21: void *malloc(size_t size); ! 22: void *realloc(void *ptr, size_t size); ! 23: void free(void *ptr); ! 24: void *memalign(size_t boundary, size_t size); ! 25: ! 26: int atoi(const char *str); ! 27: long atol(const char *str); ! 28: unsigned long int strtoul(const char *nptr, char **endptr, int base); ! 29: long int strtol(const char *nptr, char **endptr, int base); ! 30: ! 31: int rand(void); ! 32: ! 33: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.