UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ltoa.h
1 /* ltoa.h $Revision: 1.3 $ $Date: 2007/05/28 19:02:20 $ */
2 
3 #ifndef __ltoa_h
4 
5 #define __ltoa_h
6 
7 
8 /*************************************************************
9  * Convert long into string image of this long
10  * Input:
11  * n - signed number it's needed to convert into string
12  * s - !=NULL - place for the target string
13  * ==NULL - flag to allocate memory for string
14  * Returns:
15  * pointer at desired string. If s==NULL function
16  * returns pointer at allocated by malloc() memory.
17  * If s!=NULL s is returned.
18  *************************************************************/
19 char* ltoa (char* s, long n);
20 
21 /* Convert long long (64 bit) into number string */
22 char* lltoa (char* s, long long n);
23 
24 
25 #endif /* ltoa.h */