summaryrefslogblamecommitdiff
path: root/src/user/lib/include/string.h
blob: 87d8da2b64e54404682b3a40a4962f05c0389930 (plain) (tree)
1
2
3
4
5
6
7
8
9

                        
 
                  
 



                  



                                                           
                            
                                          
                              
                                     

                                           
 



                  
 
      
 
#ifndef DEF_LIB_STRING_H
#define DEF_LIB_STRING_H

#include <types.h>

#ifdef __cplusplus
extern "C" {
#endif

void *memcpy(void *dest, const void *src, int count);
void *memset(void *dest, int val, int count);
uint16_t *memsetw(uint16_t *dest, uint16_t val, int count);

int strlen(const char *str);
char *strcpy(char *dest, const char *src);
char *strdup(const char *src);
char *strchr(const char *str, int c);
char *strcat(char *dest, const char *src);
int strcmp(const char *s1, const char *s2);

#ifdef __cplusplus
}
#endif


#endif