Rev 8919 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8919 | Rev 9485 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | #ifndef __KOS_LIB_H_INCLUDED_ |
|
- | 2 | #define __KOS_LIB_H_INCLUDED_ |
|
Line 1... | Line -... | ||
1 | unsigned int strlen(const char *str); |
- | |
2 | char *strcpy(char *dest, const char *src); |
3 | |
3 | void *memcpy(void *dest, const void *src, unsigned int n); |
4 | int memcmp(const void *buf1, const void *buf2, long int count); |
4 | void *memset(void *s, char c, unsigned int n); |
5 | void *memcpy(void *dest, const void *src, unsigned int n); |
- | 6 | void *memset(void *s, char c, unsigned int n); |
|
- | 7 | ||
- | 8 | unsigned int strlen(const char *str); |
|
- | 9 | char *strcpy(char *dest, const char *src); |
|
5 | int strcmp(const char *str1, const char *str2); |
10 | char *strncpy(char *dest, const char *src, long int n); |
6 | char *strchr(const char *str, int ch); |
11 | int strcmp(const char *str1, const char *str2); |
7 | char *strstr(const char *str1, const char *str2); |
12 | char *strchr(const char *str, int ch); |
Line 8... | Line 13... | ||
8 | 13 | char *strstr(const char *str1, const char *str2); |
|
9 | double floor(double x); |
14 | |
10 | const char *DoubleToStr(double x, unsigned short digits = 5, bool crop_0 = false); |
15 | double floor(double x); |
11 | double StrToDouble(char *str); |
16 | const char *DoubleToStr(double x, unsigned short digits = 5, bool crop_0 = false); |
Line 12... | Line 17... | ||
12 | long StrToInt(char *str); |
17 | double StrToDouble(char *str); |
13 | 18 | long StrToInt(char *str); |
|
- | 19 | ||
- | 20 | void MessageBox(char *str); |
|
14 | void MessageBox(char *str); |
21 |