Files
ClassicOS/kernel/utils.h

15 lines
354 B
C

#ifndef UTILS_H
#define UTILS_H
#include <stddef.h>
// Convert integer to string (base is typically 10, 16, etc.)
char* itoa(int value, char* str, int base);
// Convert unsigned integer to string (base is typically 10, 16, etc.)
char* utoa(unsigned int value, char* str, int base);
void *memset(void *dest, int value, size_t len);
#endif // UTILS_H