summaryrefslogtreecommitdiffstats
path: root/lib/string.h
blob: 1696032e2e5e4f8dc6ec934758981078a6c99c76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _JOVE_STRING_H
#define _JOVE_STRING_H 1

#include <stddef.h>

void *memset(void *s, int c, size_t n);
void *memcpy(void *a, const void *b, size_t n);
int memcmp(const void *a, const void *b, size_t n);

size_t strlen(const char *s);
char c_toupper(char c);
char *str_toupper(char *s, size_t n);

int strncmp(const char *s1, const char *s2, size_t n);
char *strncpy(size_t n, char *restrict s1, const char *restrict s2);

#endif