A poorly written OS for the x86 arch. (WIP)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
eOS/lib/conv.c

12 lines
171 B

#include "conv.h"
void int_to_str(int i, char* buf) {
bool use_sign = false;
if( i < 0 ) {
i = (ulong)(i * (-1))
use_sign = true;
}
uint len = ulong_len(i);
}