Subversion Repositories HelenOS

Rev

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

Rev 3386 Rev 4153
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);
50
extern int stricmp(const char *, const char *);
43
extern int stricmp(const char *, const char *);
51
 
44
 
52
extern char *strcpy(char *, const char *);
45
extern char *strcpy(char *, const char *);
Line 62... Line 55...
62
extern char *strrchr(const char *, int);
55
extern char *strrchr(const char *, int);
63
 
56
 
64
extern long int strtol(const char *, char **, int);
57
extern long int strtol(const char *, char **, int);
65
extern unsigned long strtoul(const char *, char **, int);
58
extern unsigned long strtoul(const char *, char **, int);
66
 
59
 
-
 
60
extern char * strtok_r(char *, const char *, char **);
-
 
61
extern char * strtok(char *, const char *);
-
 
62
 
67
#endif
63
#endif
68
 
64
 
69
/** @}
65
/** @}
70
 */
66
 */