]> rtime.felk.cvut.cz Git - arc.git/blob - include/xtoa.h
Merge with (krn-v2)
[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 #ifndef XTOA_H_
17 #define XTOA_H_
18
19 void xtoa(unsigned long val, char* str, int base,int negative);
20 // unsigned long to string
21 void ultoa(unsigned long value, char* str, int base);
22 // int to string
23 void itoa(int value, char* str, int base);
24
25
26 #endif /* XTOA_H_ */