mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2026-01-15 10:35:20 -08:00
- Fixes PDE/PTE definitions in kernel/paging.h - removes memset declaration from kernel/utils.h, uses klibc string.h as needed
15 lines
324 B
C
15 lines
324 B
C
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "types.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);
|
|
|
|
#endif // UTILS_H
|