File: cstdlib

package info (click to toggle)
gccxml 0.9.0%2Bcvs20080525-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 78,840 kB
  • ctags: 72,674
  • sloc: ansic: 749,255; cpp: 33,564; asm: 26,833; sh: 5,161; makefile: 4,695; lex: 589; awk: 566; perl: 334; yacc: 271; pascal: 86; python: 18
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