Subversion Repositories HelenOS

Rev

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

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