|
libcfe
0.12.1
some useful C-functions
|
#include <stdlib.h>Go to the source code of this file.
Macros | |
| #define | int_to_bit(i, s) int_to_bit1(i,s,256) |
Functions | |
| size_t | int_to_bit1 (unsigned long long i, unsigned char **s, unsigned int base) |
| #define int_to_bit | ( | i, | |
| s | |||
| ) | int_to_bit1(i,s,256) |
Shorthand which use a base of 256. See int_to_bit1.
Definition at line 9 of file int_to_bit.h.
| size_t int_to_bit1 | ( | unsigned long long | i, |
| unsigned char ** | s, | ||
| unsigned int | base | ||
| ) |
Turn an integer into a binary value which is stored as a string.
| [in] | i | The number that needs to be converted. |
| [out] | s | Must be a NULL pointer. |
| [in] | base | The base number. |
Definition at line 6 of file int_to_bit.c.