some finishing touches to printf
This commit is contained in:
@ -1,17 +1,24 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef _STDLIB_H
|
||||
#define _STDLIB_H 1
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
__attribute__((__noreturn__))
|
||||
void abort(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
char* s64toa(int64_t num, char* buf, int base);
|
||||
char* u64toa(uint64_t num, char* buf, int base);
|
||||
char* s32toa(int32_t num, char* buf, int base);
|
||||
char* u32toa(uint32_t num, char* buf, int base);
|
||||
char* s16toa(int16_t num, char* buf, int base);
|
||||
char* u16toa(uint16_t num, char* buf, int base);
|
||||
char* s8toa(int8_t num, char* buf, int base);
|
||||
char* u8toa(uint8_t num, char* buf, int base);
|
||||
|
||||
char* itoa(int num, char* buf, int base);
|
||||
char* utoa(unsigned int num, char* buf, int base);
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user