Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5496 leency 1
/*	Copyright (C) 2005 Garrett A. Kajmowicz
2
 
3
	This file is part of the uClibc++ Library.
4
	This library is free software; you can redistribute it and/or
5
	modify it under the terms of the GNU Lesser General Public
6
	License as published by the Free Software Foundation; either
7
	version 2.1 of the License, or (at your option) any later version.
8
 
9
	This library is distributed in the hope that it will be useful,
10
	but WITHOUT ANY WARRANTY; without even the implied warranty of
11
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
	Lesser General Public License for more details.
13
 
14
	You should have received a copy of the GNU Lesser General Public
15
	License along with this library; if not, write to the Free Software
16
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
*/
18
 
19
#include 
20
#include 
21
 
22
#ifndef __HEADER_CSTDLIB
23
#define __HEADER_CSTDLIB 1
24
 
25
 
26
namespace std{
27
	using ::abort;
28
	using ::abs;
29
	using ::atexit;
30
	using ::atol;
31
	using ::atof;
32
	using ::atoi;
33
	using ::bsearch;
34
	using ::calloc;
35
	using ::div;
36
	using ::exit;
37
	using ::free;
38
	using ::getenv;
39
	using ::labs;
40
	using ::ldiv;
41
	using ::malloc;
42
	using ::qsort;
43
	using ::rand;
44
	using ::realloc;
45
	using ::srand;
46
	using ::strtod;
47
	using ::strtol;
48
	using ::strtoul;
49
	using ::system;
50
#ifdef __UCLIBCXX_HAS_WCHAR__
51
	using ::mblen;
52
	using ::mbstowcs;
53
	using ::mbtowc;
54
	using ::wctomb;
55
	using ::wcstombs;
56
#endif
57
 
58
	inline long abs(long i){
59
		return labs(i);
60
	}
61
 
62
	inline ldiv_t div(long i, long j){
63
		return ldiv(i, j);
64
	}
65
 
66
}
67
 
68
 
69
 
70
#endif
71