treewide: unify signal handling, error reporting, and string utils
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I8351ecccb03281e438dba666390021306a6a6964
This commit is contained in:
parent
dab6b3b0ae
commit
987f4fcc99
4 changed files with 13 additions and 102 deletions
3
include/chroma.h
vendored
3
include/chroma.h
vendored
|
|
@ -282,9 +282,6 @@ bool chroma_is_regular_file(const char *path);
|
|||
bool chroma_is_directory(const char *path);
|
||||
long chroma_get_file_size(const char *path);
|
||||
const char *chroma_get_file_extension(const char *path);
|
||||
int chroma_strcasecmp(const char *s1, const char *s2);
|
||||
size_t chroma_strlcpy(char *dst, const char *src, size_t size);
|
||||
size_t chroma_strlcat(char *dst, const char *src, size_t size);
|
||||
long long chroma_get_time_ms(void);
|
||||
void chroma_sleep_ms(long ms);
|
||||
void chroma_format_memory_size(size_t bytes, char *buffer, size_t buffer_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue