bottleros/Userland/SampleCodeModule/include/libc.h

33 lines
931 B
C

#ifndef LIBC
#define LIBC
#include "system.h"
void winClear();
void printString(char * string);
void printStringError(char * string);
void printStringLen(char * string, int len);
void newline();
void backspace();
char getChar();
void putChar(char c);
int abs();
int atoi(char * buffer);
int strlen(const char * s);
void scanf(char * buffer, int maxLen);
int strcmp(const char * s1, const char * s2);
char * itoa(int value, char* buffer, int base);
char isFloat(char * str);
float atof(char * arr);
char * strtok(char * s, char delim);
char isNumber(char c);
char * gtoa(int value, char * buffer, int base, int length);
char * reverse(char * buffer, int i, int j);
int pow(int base, int exponent);
char * strstrip(char * s, char c);
void ftoa(double f, char * buf, int precision);
char * strcat(char * dest, const char * src);
int strcpy(char * strDest, const char * strSrc);
void addEOF();
#endif