| 1 |
/* ansi_stdlib.h -- An ANSI Standard stdlib.h. */ |
| 2 |
/* A minimal stdlib.h containing extern declarations for those functions |
| 3 |
that bash uses. */ |
| 4 |
|
| 5 |
/* Copyright (C) 1993 Free Software Foundation, Inc. |
| 6 |
|
| 7 |
This file is part of GNU Bash, the Bourne Again SHell. |
| 8 |
|
| 9 |
Bash is free software; you can redistribute it and/or modify it under |
| 10 |
the terms of the GNU General Public License as published by the Free |
| 11 |
Software Foundation; either version 2, or (at your option) any later |
| 12 |
version. |
| 13 |
|
| 14 |
Bash is distributed in the hope that it will be useful, but WITHOUT ANY |
| 15 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 16 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 17 |
for more details. |
| 18 |
|
| 19 |
You should have received a copy of the GNU General Public License along |
| 20 |
with Bash; see the file COPYING. If not, write to the Free Software |
| 21 |
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 22 |
|
| 23 |
#if !defined (_STDLIB_H_) |
| 24 |
#define _STDLIB_H_ 1 |
| 25 |
|
| 26 |
/* String conversion functions. */ |
| 27 |
extern int atoi (); |
| 28 |
extern long int atol (); |
| 29 |
|
| 30 |
/* Memory allocation functions. */ |
| 31 |
extern char *malloc (); |
| 32 |
extern char *realloc (); |
| 33 |
extern void free (); |
| 34 |
|
| 35 |
/* Other miscellaneous functions. */ |
| 36 |
extern void abort (); |
| 37 |
extern void exit (); |
| 38 |
extern char *getenv (); |
| 39 |
extern void qsort (); |
| 40 |
|
| 41 |
#endif /* _STDLIB_H */ |