Subversion Repositories HelenOS

Rev

Rev 3022 | Rev 4420 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3022 Rev 4055
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef LIBC_STRING_H_
35
#ifndef LIBC_STRING_H_
36
#define LIBC_STRING_H_
36
#define LIBC_STRING_H_
37
 
37
 
-
 
38
#include <mem.h>
38
#include <sys/types.h>
39
#include <sys/types.h>
39
 
40
 
40
#define bzero(ptr, len) memset((ptr), 0, (len))
-
 
41
 
-
 
42
extern void * memset(void *, int, size_t);
-
 
43
extern void * memcpy(void *, const void *, size_t);
-
 
44
extern void * memmove(void *, const void *, size_t);
-
 
45
 
-
 
46
extern int bcmp(const char *, const char *, size_t);
-
 
47
 
-
 
48
extern int strcmp(const char *, const char *);
41
extern int strcmp(const char *, const char *);
49
extern int strncmp(const char *, const char *, size_t);
42
extern int strncmp(const char *, const char *, size_t);
-
 
43
extern int stricmp(const char *, const char *);
50
 
44
 
51
extern char *strcpy(char *, const char *);
45
extern char *strcpy(char *, const char *);
52
extern char *strncpy(char *, const char *, size_t);
46
extern char *strncpy(char *, const char *, size_t);
53
 
47
 
54
extern char *strcat(char *, const char *);
48
extern char *strcat(char *, const char *);
55
 
49
 
56
extern size_t strlen(const char *);
50
extern size_t strlen(const char *);
57
 
51
 
-
 
52
extern char *strdup(const char *);
-
 
53
 
58
extern char *strchr(const char *, int);
54
extern char *strchr(const char *, int);
59
extern char *strrchr(const char *, int);
55
extern char *strrchr(const char *, int);
60
 
56
 
61
extern long int strtol(const char *, char **, int);
57
extern long int strtol(const char *, char **, int);
62
extern unsigned long strtoul(const char *, char **, int);
58
extern unsigned long strtoul(const char *, char **, int);
63
 
59
 
-
 
60
extern char * strtok_r(char *, const char *, char **);
-
 
61
extern char * strtok(char *, const char *);
-
 
62
 
64
#endif
63
#endif
65
 
64
 
66
/** @}
65
/** @}
67
 */
66
 */