File: cstdlib

package info (click to toggle)
gccxml 0.7.0%2Bcvs20060311-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 45,240 kB
  • ctags: 59,007
  • sloc: ansic: 589,435; asm: 19,610; cpp: 12,681; sh: 4,326; yacc: 3,727; makefile: 3,074; perl: 318; lex: 307; awk: 117; pascal: 78; sed: 20
file content (66 lines) | stat: -rw-r--r-- 775 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef GCCXML_CSTDLIB
#define GCCXML_CSTDLIB

#include_next <cstdlib>

// 18.3/1
namespace std
{
  using ::abort;
  using ::atexit;
  using ::exit;
}

// 18.7/1
namespace std
{
  using ::getenv;
  using ::system;
}

// 20.4.6/1
namespace std
{
  using ::calloc;
  using ::malloc;
  using ::free;
  using ::realloc;
}

// 21.4/1
namespace std
{
  using ::atol;
  using ::atof;
  using ::atoi;
  using ::mblen;
  using ::mbstowcs;
  using ::mbtowc;
  using ::strtod;
  using ::strtol;
  using ::strtoul;
  using ::wctomb;
  using ::wcstombs;
}

// 25.4/1
namespace std
{
  using ::bsearch;
  using ::qsort;
}

// 26.5/1
namespace std
{
  using ::div_t;
  using ::ldiv_t;
  using ::abs;
  using ::div;
  using ::labs;
  using ::ldiv;
  using ::srand;
  using ::rand;
}

#endif