mirror of
https://github.com/tailix/libkernaux.git
synced 2024-10-30 11:54:01 -04:00
24 lines
478 B
C
24 lines
478 B
C
#ifndef KERNAUX_INCLUDED_STDLIB
|
|
#define KERNAUX_INCLUDED_STDLIB 1
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void *kernaux_memset(void *buffer, int value, size_t size)
|
|
__attribute__((nonnull));
|
|
|
|
size_t kernaux_strlen(const char *s) __attribute__((nonnull));
|
|
|
|
char *kernaux_strncpy(char *dest, const char *src, size_t slen)
|
|
__attribute__((nonnull));
|
|
|
|
void kernaux_itoa(int d, char *buf, int base) __attribute__((nonnull));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|