2020-11-29 19:00:47 -05:00
|
|
|
#ifndef KERNAUX_INCLUDED_STDLIB
|
|
|
|
#define KERNAUX_INCLUDED_STDLIB 1
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-12-13 15:46:58 -05:00
|
|
|
#include <stddef.h>
|
|
|
|
|
2021-12-12 09:15:51 -05:00
|
|
|
void *kernaux_memset(void *buffer, int value, size_t size)
|
2020-11-29 19:25:30 -05:00
|
|
|
__attribute__((nonnull));
|
|
|
|
|
2021-12-12 09:21:27 -05:00
|
|
|
size_t kernaux_strlen(const char *s) __attribute__((nonnull));
|
2020-11-29 19:25:30 -05:00
|
|
|
|
2021-12-12 09:25:43 -05:00
|
|
|
char *kernaux_strncpy(char *dest, const char *src, size_t slen)
|
2020-11-29 19:25:30 -05:00
|
|
|
__attribute__((nonnull));
|
|
|
|
|
2020-11-29 19:48:58 -05:00
|
|
|
void kernaux_itoa(int d, char *buf, int base) __attribute__((nonnull));
|
2020-11-29 19:25:30 -05:00
|
|
|
|
2020-11-29 19:00:47 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|