summaryrefslogtreecommitdiff
path: root/src/libc/string.h
blob: 09028c12f54663acfbb526ab86fd9a4d2f35ad4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef STRING_H
#define STRING_H

#include <stddef.h>

void *memset( void *s, int c, size_t n );
void *memmove( void *d, const void *s, size_t n );
void *memcpy( void *d, const void *s, size_t n );

size_t strlen( const char *s );
int strcmp( const char *s1, const char *s2 );
int strncmp( const char *s1, const char *s2, size_t n );
size_t strlcpy( char *d, const char *s, size_t n );
size_t strlcat( char *d, const char *s, size_t n );

#endif // STRING_H