| 1 |
/* xstdlib.h: has standard library function prototypes |
| 2 |
* Authors: Charles E. Campbell, Jr. |
| 3 |
* Terry McRoberts |
| 4 |
* Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1 |
| 5 |
* Permission is hereby granted to use and distribute this code, |
| 6 |
* with or without modifications, provided that this copyright |
| 7 |
* notice is copied with it. Like anything else that's free, |
| 8 |
* xstdlib.h is provided *as is* and comes with no warranty |
| 9 |
* of any kind, either expressed or implied. By using this |
| 10 |
* software, you agree that in no event will the copyright |
| 11 |
* holder be liable for any damages resulting from the use |
| 12 |
* of this software. |
| 13 |
* Date: Aug 22, 2005 |
| 14 |
*/ |
| 15 |
#ifndef XSTDLIB_H |
| 16 |
#define XSTDLIB_H |
| 17 |
|
| 18 |
#include <sys/types.h> |
| 19 |
|
| 20 |
/* Prototypes for standard library functions */ |
| 21 |
extern char *calloc(); |
| 22 |
extern void exit(); |
| 23 |
extern char *getenv(); |
| 24 |
extern char *index(); |
| 25 |
extern char *malloc(); |
| 26 |
extern char *strchr(); |
| 27 |
extern char *strrchr(); |
| 28 |
#define remove unlink |
| 29 |
|
| 30 |
|
| 31 |
#endif |