2025-11-27 20:51:48 +03:00
|
|
|
#ifndef AXL_STRING_H
|
|
|
|
|
#define AXL_STRING_H
|
|
|
|
|
#include "axl_types.h"
|
|
|
|
|
|
2025-12-01 21:43:54 +03:00
|
|
|
u32 axl_strlen(const i8* s);
|
|
|
|
|
i8* axl_strcpy(i8* dst, const i8* src);
|
|
|
|
|
i8* axl_strncpy(i8* dst, const i8* src, u32 n);
|
|
|
|
|
i8* axl_strcat(i8* dst, const i8* src);
|
|
|
|
|
i8* axl_strncat(i8* dst, const i8* src, u32 n);
|
|
|
|
|
i32 axl_strcmp(const i8* s1, const i8* s2);
|
|
|
|
|
i32 axl_strncmp(const i8* s1, const i8* s2, u32 n);
|
2025-12-01 20:47:34 +03:00
|
|
|
const i8* axl_strchr(const i8* str, i8 c);
|
2025-12-02 17:16:04 +03:00
|
|
|
i8* axl_strstr(const i8* str, const i8* substr);
|
2025-12-05 21:05:48 +03:00
|
|
|
i8* axl_strrev(i8* str);
|
2025-12-05 22:46:27 +03:00
|
|
|
i8* axl_utoa(u64 val, i8* str, u8 base);
|
|
|
|
|
i8* axl_itoa(i64 val, i8* str, u8 base);
|
2025-12-08 00:01:39 +03:00
|
|
|
i8* axl_ftoa(f32 val, i8* str, u32 precision);
|
2025-12-02 17:19:40 +03:00
|
|
|
|
2025-11-27 20:51:48 +03:00
|
|
|
#endif // AXL_STRING
|