- _itobin
-
int _itobin(int i, char*buf, int prec, int groups )
Size: ~188B ../src/conversions/itobin.c l.8
- _itohex
-
int _itohex(int i,char* buf,int padding, int capitals)
Size: ~250B ../src/conversions/itohex.c l.6
- atoi
-
int atoi(const char c)
*convert a string to an integer Size: ~32B ../src/conversions/atoi.c l.3 manpage: atoi
- atol
-
long atol(const char c)
*convert a string to a long integer Size: ~108B ../src/conversions/atol.c l.3 manpage: atol
- dtodec
-
int dtodec(double d, char* buf, int precision)
Defines: uitodec
Size: ~760B ../src/conversions/dtodec.c l.10
- itoHEX
-
int itoHEX(int i,char* buf,int padding)
convert a number to hexadecimal representation with big capitals. the conversion assumes a size of 32bits for integers, negative values are represented as they are stored internally. ( -1 is 0xFFFFFFFF, -2 0xFFFFFFFE, ... )
Size: ~250B ../src/conversions/itohex.c l.65
- itobin
-
#define itobin(A,B,…) _itobin(A,B,VARARG(SHIFT(VA_ARGS),0), VARARG(SHIFT(ARG( VA_ARGS )),32) )
convert a number to a binary representation. the conversion assumes a size of 32bits for integers, negative values are represented as they are stored internally. ( -1 is 11111111111111111111111111111111, -2 11111111111111111111111111111110, ...)
- itodec
-
int itodec(int i, char buf, int prec, char limiter, char pad )
*Defines: uitodec
Size: ~555B ../src/conversions/itodec.c l.123
- itohex
-
int itohex(int i,char* buf,int padding)
convert a number to hexadecimal representation. the conversion assumes a size of 32bits for integers, negative values are represented as they are stored internally. ( -1 is 0xffffffff, -2 0xfffffffe, ... )
Size: ~247B ../src/conversions/itohex.c l.53
- itooct
-
int itooct(int i, char *buf)
convert int to octal return the number of chars written.
- ltodec
-
int ltodec(long i, char buf, int prec, char limiter )
*Defines: ultodec
Size: ~323B ../src/conversions/ltodec.c l.3
- strtol
-
long int strtol(const char c, const char **endp, int base)
*convert a string to a long integer
conversion
Size: ~252B ../src/string/strtol.c l.4 manpage: strtol
- uitodec
-
int ATTR_OPT("Os")uitodec(unsigned int i, char *buf, int prec, char limiter, char pad )
convert int to string. prec: precision, e.g. 4=> 0087 pad: 0 (pad with spaces), or the char to pad
- ultodec
-
int ultodec(unsigned long ui, char *buf, int prec, char limiter )
Size: ~293B ../src/conversions/ultodec.c l.2