x-engine-c v0.2.13
The C engine for x-lang
Loading...
Searching...
No Matches
x-stdlib.h
Go to the documentation of this file.
1#ifndef X_STDLIB_H
2#define X_STDLIB_H
3
31#include "x-sys.h"
32
39int x_lib_abs(int i);
40
42void *x_lib_memcpy(void *p_dest, const void *p_src, size_t n);
43
45void *x_lib_memset(void *p_dest, int byte, size_t size);
46
48char *x_lib_strchr(const char *p_str, int c);
49
51int x_lib_strcmp(const char *p_str1, const char *p_str2);
52
54size_t x_lib_strlen(const char *p_str);
55
57int x_lib_strncmp(const char *p_str1, const char *p_str2, size_t n);
58
60char *x_lib_strndup(const char *p_str, size_t size);
61
64#endif /* X_STDLIB_H */
static void x_obj_t int int i
Definition x-prim.h:60
void * x_lib_memcpy(void *p_dest, const void *p_src, size_t n)
Definition x-stdlib.c:54
int x_lib_strcmp(const char *p_str1, const char *p_str2)
Definition x-stdlib.c:128
char * x_lib_strndup(const char *p_str, size_t size)
Definition x-stdlib.c:205
int x_lib_abs(int i)
Definition x-stdlib.c:37
size_t x_lib_strlen(const char *p_str)
Definition x-stdlib.c:150
void * x_lib_memset(void *p_dest, int byte, size_t size)
Definition x-stdlib.c:78
int x_lib_strncmp(const char *p_str1, const char *p_str2, size_t n)
Definition x-stdlib.c:174
char * x_lib_strchr(const char *p_str, int c)
Definition x-stdlib.c:104
System-level function wrappers.