XenevaOS
Loading...
Searching...
No Matches
string.h
Go to the documentation of this file.
1
29#ifndef __STRING_H__
30#define __STRING_H__
31
32
33#include "stdint.h"
34#include <aurora.h>
35
36#ifdef __cplusplus
38#endif
39
40 /*
41 * Global Functions !!
42 */
43
44 AU_EXPORT int strcmp(const char* str1, const char* str2);
45 AU_EXPORT char *strcpy(char *s1, const char *s2);
46 AU_EXPORT size_t strlen(const char* str);
47 AU_EXPORT int strncmp(const char* s1, const char *s2, size_t n);
48 AU_EXPORT char *strncpy(char *destString, const char* sourceString, size_t maxLength);
49 AU_EXPORT char* strchr(char* str, int character);
50 AU_EXPORT char *strcat(char *destString, const char *sourceString);
51 AU_EXPORT char *strncat(char *destString, const char *sourceString, size_t maxLength);
52 AU_EXPORT void memset(void *targ, int val, uint32_t len);
53 AU_EXPORT void memcpy(void *targ, void *src, size_t len);
54 AU_EXPORT int memcmp(const void *first, const void *second, size_t length);
55 AU_EXPORT void* memmove(void*, const void*, size_t);
56 AU_EXPORT char* strdup(const char* c);
57 AU_EXPORT char* strstr(const char* s1, const char* s2);
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif
64
#define AU_EXTERN
Definition aurora.h:50
#define AU_EXPORT
Definition aurora.h:38
AU_EXPORT int strcmp(const char *str1, const char *str2)
Definition utclib.c:579
AU_EXPORT void * memmove(void *, const void *, size_t)
AU_EXPORT int memcmp(const void *first, const void *second, size_t length)
Definition string.cpp:47
AU_EXPORT char * strncpy(char *destString, const char *sourceString, size_t maxLength)
Definition string.cpp:115
AU_EXPORT void memset(void *targ, int val, uint32_t len)
Definition string.cpp:41
AU_EXPORT char * strchr(char *str, int character)
locates first occurance of character in string
Definition string.cpp:143
AU_EXPORT size_t strlen(const char *str)
Definition utclib.c:379
AU_EXPORT char * strcpy(char *s1, const char *s2)
Definition utclib.c:498
AU_EXPORT void memcpy(void *targ, void *src, size_t len)
Definition string.cpp:68
AU_EXPORT char * strncat(char *destString, const char *sourceString, size_t maxLength)
Definition string.cpp:188
AU_EXPORT int strncmp(const char *s1, const char *s2, size_t n)
Definition string.cpp:107
AU_EXPORT char * strdup(const char *c)
Definition string.cpp:237
AU_EXPORT char * strcat(char *destString, const char *sourceString)
Definition utclib.c:678
AU_EXPORT char * strstr(const char *s1, const char *s2)
Definition string.c:231
unsigned int uint32_t
Definition acefiex.h:163