Changeset de53138 in mainline for uspace/lib/cpp/include/cstdlib
- Timestamp:
- 2018-07-05T21:41:21Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c71c171
- Parents:
- 6d8a63a
- git-author:
- Dzejrou <dzejrou@…> (2018-04-20 00:11:54)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/cstdlib
r6d8a63a rde53138 1 1 /* 2 * Copyright (c) 201 7Jaroslav Jindrak2 * Copyright (c) 2018 Jaroslav Jindrak 3 3 * All rights reserved. 4 4 * … … 32 32 #include "internal/common.hpp" 33 33 34 namespace std::hel 35 { 36 extern "C" { 37 #include <stdlib.h> 38 } 39 } 40 34 41 namespace std 35 42 { 43 /* using std::hel::div_t; */ 44 /* using std::hel::ldiv_t; */ 45 /* using std::hel::lldiv_t; */ 46 using std::hel::size_t; 36 47 37 extern "C" { 38 #include <stdlib.h> 48 using std::hel::abort; 49 using std::hel::exit; 50 /* using std::hel::quick_exit; */ 51 /* using std::hel::_Exit; */ 52 using std::hel::atexit; 53 /* using std::hel::at_quick_exit; */ 54 /* using std::hel::system; */ 55 /* using std::hel::getenv; */ 56 57 using std::hel::malloc; 58 using std::hel::calloc; 59 using std::hel::realloc; 60 using std::hel::free; 61 62 /* using std::hel::atof; */ 63 /* using std::hel::atoi; */ 64 /* using std::hel::atol; */ 65 /* using std::hel::atoll; */ 66 /* using std::hel::strtol; */ 67 /* using std::hel::strtoll; */ 68 /* using std::hel::strtoul; */ 69 /* using std::hel::strtoull; */ 70 /* using std::hel::strtof; */ 71 /* using std::hel::strtod; */ 72 /* using std::hel::strtold; */ 73 74 /* using std::hel::mblen; */ 75 /* using std::hel::mbtowc; */ 76 /* using std::hel::wctomb; */ 77 /* using std::hel::mbstowcs; */ 78 /* using std::hel::wcstombs; */ 79 80 using std::hel::random; // Supposed to be rand. 81 using std::hel::srandom; // Supposed to be srand. 82 using std::hel::qsort; 83 /* using std::hel::bsearch; */ 84 /* using std::hel::abs; */ 85 /* using std::hel::labs; */ 86 /* using std::hel::llabs; */ 87 /* using std::hel::div; */ 88 /* using std::hel::ldiv; */ 89 /* using std::hel::lldiv; */ 39 90 } 40 91 41 } 92 /* using std::hel::div_t; */ 93 /* using std::hel::ldiv_t; */ 94 /* using std::hel::lldiv_t; */ 95 using std::hel::size_t; 96 97 using std::hel::abort; 98 using std::hel::exit; 99 /* using std::hel::quick_exit; */ 100 /* using std::hel::_Exit; */ 101 using std::hel::atexit; 102 /* using std::hel::at_quick_exit; */ 103 /* using std::hel::system; */ 104 /* using std::hel::getenv; */ 105 106 using std::hel::malloc; 107 using std::hel::calloc; 108 using std::hel::realloc; 109 using std::hel::free; 110 111 /* using std::hel::atof; */ 112 /* using std::hel::atoi; */ 113 /* using std::hel::atol; */ 114 /* using std::hel::atoll; */ 115 /* using std::hel::strtol; */ 116 /* using std::hel::strtoll; */ 117 /* using std::hel::strtoul; */ 118 /* using std::hel::strtoull; */ 119 /* using std::hel::strtof; */ 120 /* using std::hel::strtod; */ 121 /* using std::hel::strtold; */ 122 123 /* using std::hel::mblen; */ 124 /* using std::hel::mbtowc; */ 125 /* using std::hel::wctomb; */ 126 /* using std::hel::mbstowcs; */ 127 /* using std::hel::wcstombs; */ 128 129 using std::hel::random; // Supposed to be rand. 130 using std::hel::srandom; // Supposed to be srand. 131 using std::hel::qsort; 132 /* using std::hel::bsearch; */ 133 /* using std::hel::abs; */ 134 /* using std::hel::labs; */ 135 /* using std::hel::llabs; */ 136 /* using std::hel::div; */ 137 /* using std::hel::ldiv; */ 138 /* using std::hel::lldiv; */ 42 139 43 140 #endif
Note:
See TracChangeset
for help on using the changeset viewer.