update name of code to labcodes
This commit is contained in:
25
labcodes/lab5/libs/string.h
Normal file
25
labcodes/lab5/libs/string.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef __LIBS_STRING_H__
|
||||
#define __LIBS_STRING_H__
|
||||
|
||||
#include <defs.h>
|
||||
|
||||
size_t strlen(const char *s);
|
||||
size_t strnlen(const char *s, size_t len);
|
||||
|
||||
char *strcpy(char *dst, const char *src);
|
||||
char *strncpy(char *dst, const char *src, size_t len);
|
||||
|
||||
int strcmp(const char *s1, const char *s2);
|
||||
int strncmp(const char *s1, const char *s2, size_t n);
|
||||
|
||||
char *strchr(const char *s, char c);
|
||||
char *strfind(const char *s, char c);
|
||||
long strtol(const char *s, char **endptr, int base);
|
||||
|
||||
void *memset(void *s, char c, size_t n);
|
||||
void *memmove(void *dst, const void *src, size_t n);
|
||||
void *memcpy(void *dst, const void *src, size_t n);
|
||||
int memcmp(const void *v1, const void *v2, size_t n);
|
||||
|
||||
#endif /* !__LIBS_STRING_H__ */
|
||||
|
||||
Reference in New Issue
Block a user