~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to cmd-line-utils/readline/ansi_stdlib.h

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. */
 
22
 
 
23
#if !defined (_STDLIB_H_)
 
24
#define _STDLIB_H_ 1
 
25
 
 
26
/* String conversion functions. */
 
27
extern int atoi ();
 
28
 
 
29
extern double atof ();
 
30
extern double strtod ();
 
31
 
 
32
/* Memory allocation functions. */
 
33
/* Generic pointer type. */
 
34
#ifndef PTR_T
 
35
 
 
36
#if defined (__STDC__)
 
37
#  define PTR_T void *
 
38
#else
 
39
#  define PTR_T char *
 
40
#endif
 
41
 
 
42
#endif /* PTR_T */
 
43
 
 
44
extern PTR_T malloc ();
 
45
extern PTR_T realloc ();
 
46
extern void free ();
 
47
 
 
48
/* Other miscellaneous functions. */
 
49
extern void abort ();
 
50
extern void exit ();
 
51
extern char *getenv ();
 
52
extern void qsort ();
 
53
 
 
54
#endif /* _STDLIB_H  */