BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / blob / 18495cfe1cf5f7fc6f6b0c8c12d7f34dfded1be0 / include / nucleus / lib.h

// Related

Nucleus

Barry System headers (remove libc dependency) 18495cf (3 years, 2 months ago)
#ifndef _NUCLEUS_LIB_H
#define _NUCLEUS_LIB_H

#include <stdarg.h>
#include <stddef.h>

int vsprintf(char *buf, const char *fmt, va_list args);
int sprintf(char *buf, const char *fmt, ...);

void *memset(void *dest, int byte, size_t len);
int memcmp(void *s1, void *s2, size_t n);
void *memcpy(void *dest, const void *src, size_t n);

int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t n);
char *strcpy(char *dest, const char *src);
char *strncpy(char *dest, const char *src, size_t n);
size_t strlen(const char *str);
size_t strnlen(const char *str, size_t n);

#endif