2021-12-27 15:55:00 +01:00
|
|
|
#ifndef __KOS_LIB_H_INCLUDED_
|
|
|
|
#define __KOS_LIB_H_INCLUDED_
|
2020-11-06 13:04:25 +01:00
|
|
|
|
2021-12-27 15:55:00 +01:00
|
|
|
int memcmp(const void *buf1, const void *buf2, long int count);
|
2021-06-12 13:58:55 +02:00
|
|
|
void *memcpy(void *dest, const void *src, unsigned int n);
|
|
|
|
void *memset(void *s, char c, unsigned int n);
|
2021-12-27 15:55:00 +01:00
|
|
|
|
|
|
|
unsigned int strlen(const char *str);
|
|
|
|
char *strcpy(char *dest, const char *src);
|
|
|
|
char *strncpy(char *dest, const char *src, long int n);
|
2021-06-12 13:58:55 +02:00
|
|
|
int strcmp(const char *str1, const char *str2);
|
|
|
|
char *strchr(const char *str, int ch);
|
|
|
|
char *strstr(const char *str1, const char *str2);
|
|
|
|
|
|
|
|
double floor(double x);
|
|
|
|
const char *DoubleToStr(double x, unsigned short digits = 5, bool crop_0 = false);
|
|
|
|
double StrToDouble(char *str);
|
|
|
|
long StrToInt(char *str);
|
2021-06-22 11:24:38 +02:00
|
|
|
|
2021-12-27 15:55:00 +01:00
|
|
|
void MessageBox(char *str);
|
|
|
|
|
|
|
|
#endif
|