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

#include <stddef.h>

int toupper(int c);
char *stoupper(char *s);
char *sntoupper(char *s, size_t limit);

size_t strlen(const char *s);

void *memset(void *dest, int c, size_t n);
void *memcpy(void *dest, const void *src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
int memcmp(const void *a, const void *b, size_t n);
int strcmp(const char *a, const char *b);

#endif