]> rtime.felk.cvut.cz Git - arc.git/blob - include/xtoa.h
Initial commit.
[arc.git] / include / xtoa.h
1 /* -------------------------------- Arctic Core ------------------------------
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com
3  *
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
5  *
6  * This source code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published by the
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13  * for more details.
14  * -------------------------------- Arctic Core ------------------------------*/
15
16
17
18
19
20
21
22
23 /*
24  * xtoa.h
25  *
26  *  Created on: May 3, 2009
27  *      Author: mahi
28  */
29
30 #ifndef XTOA_H_
31 #define XTOA_H_
32
33 void xtoa(unsigned long val, char* str, int base,int negative);
34 // unsigned long to string
35 void ultoa(unsigned long value, char* str, int base);
36 // int to string
37 void itoa(int value, char* str, int base);
38
39
40 #endif /* XTOA_H_ */