mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-13 11:04:27 -05:00
30 lines
514 B
C
30 lines
514 B
C
#ifndef KERNAUX_INCLUDED_STDLIB
|
|
#define KERNAUX_INCLUDED_STDLIB 1
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void kernaux_memset(
|
|
void *buffer,
|
|
unsigned char value,
|
|
unsigned long size
|
|
)
|
|
__attribute__((nonnull));
|
|
|
|
unsigned int kernaux_strlen(const char *s) __attribute__((nonnull));
|
|
|
|
char *kernaux_strncpy(
|
|
char *dest,
|
|
const char *src,
|
|
unsigned long slen
|
|
)
|
|
__attribute__((nonnull));
|
|
|
|
void kernaux_itoa(int d, char *buf, int base) __attribute__((nonnull));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|