blob: aff05332598a423682f8fda0933ea875e319213e (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef STRINGS_H
#define STRINGS_H
#include <stddef.h>
#include <stdint.h>
void uint32_to_dec(uint32_t number, char buf[10]);
void uint32_to_hex(uint32_t number, char buf[8]);
void uint32_to_bin(uint32_t number, char buf[32]);
void uint32_to_decstring(uint32_t number, char buf[11]);
void uint32_to_hexstring(uint32_t number, char buf[9]);
void uint32_to_binstring(uint32_t number, char buf[33]);
void trim_0s(char string[]);
void uint32_to_decstringt(uint32_t number, char buf[11]);
void uint32_to_hexstringt(uint32_t number, char buf[9]);
size_t strlen(char string[]);
void memcpy(void *dst, void *src, size_t nbytes);
void *memset(void *s, int c, size_t n);
char *strcat(char *dst, const char *src);
#endif // STRINGS_H
|