PatchworkOS
Loading...
Searching...
No Matches
string.h File Reference
#include "_internal/NULL.h"
#include "_internal/config.h"
#include "_internal/size_t.h"

Go to the source code of this file.

Functions

_PUBLIC void * memcpy (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n)
 
_PUBLIC void * memmove (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n)
 
_PUBLIC char * strcpy (char *_RESTRICT s1, const char *_RESTRICT s2)
 
_PUBLIC char * strncpy (char *_RESTRICT s1, const char *_RESTRICT s2, size_t n)
 
_PUBLIC char * strcat (char *_RESTRICT s1, const char *_RESTRICT s2)
 
_PUBLIC char * strncat (char *_RESTRICT s1, const char *_RESTRICT s2, size_t n)
 
_PUBLIC int memcmp (const void *s1, const void *s2, size_t n)
 
_PUBLIC int strcmp (const char *s1, const char *s2)
 
_PUBLIC int strcoll (const char *s1, const char *s2)
 
_PUBLIC int strncmp (const char *s1, const char *s2, size_t n)
 
_PUBLIC size_t strxfrm (char *_RESTRICT s1, const char *_RESTRICT s2, size_t n)
 
_PUBLIC void * memchr (const void *s, int c, size_t n)
 
_PUBLIC char * strchr (const char *s, int c)
 
_PUBLIC size_t strcspn (const char *s1, const char *s2)
 
_PUBLIC char * strpbrk (const char *s1, const char *s2)
 
_PUBLIC char * strrchr (const char *s, int c)
 
_PUBLIC size_t strspn (const char *s1, const char *s2)
 
_PUBLIC char * strstr (const char *s1, const char *s2)
 
_PUBLIC char * strtok (char *_RESTRICT s1, const char *_RESTRICT s2)
 
_PUBLIC void * memset (void *s, int c, size_t n)
 
_PUBLIC void * memset32 (void *s, __UINT32_TYPE__ c, size_t n)
 
_PUBLIC char * strerror (int errnum)
 
_PUBLIC size_t strlen (const char *s)
 
char * strdup (const char *src)
 

Function Documentation

◆ memchr()

_PUBLIC void * memchr ( const void *  s,
int  c,
size_t  n 
)

Definition at line 3 of file memchr.c.

References NULL.

Referenced by _scan(), _strtoll_main(), _strtoll_prelim(), and atoll().

◆ memcmp()

_PUBLIC int memcmp ( const void *  s1,
const void *  s2,
size_t  n 
)

◆ memcpy()

◆ memmove()

◆ memset()

◆ memset32()

_PUBLIC void * memset32 ( void *  s,
__UINT32_TYPE__  c,
size_t  n 
)

Definition at line 4 of file memset32.c.

Referenced by draw_rect(), log_screen_clear(), and log_screen_scroll().

◆ strcat()

_PUBLIC char * strcat ( char *_RESTRICT  s1,
const char *_RESTRICT  s2 
)

Definition at line 3 of file strcat.c.

◆ strchr()

_PUBLIC char * strchr ( const char *  s,
int  c 
)

Definition at line 3 of file strchr.c.

References NULL.

Referenced by config_open().

◆ strcmp()

◆ strcoll()

_PUBLIC int strcoll ( const char *  s1,
const char *  s2 
)

Definition at line 3 of file strcoll.c.

References strcmp().

◆ strcpy()

_PUBLIC char * strcpy ( char *_RESTRICT  s1,
const char *_RESTRICT  s2 
)

◆ strcspn()

_PUBLIC size_t strcspn ( const char *  s1,
const char *  s2 
)

Definition at line 3 of file strcspn.c.

◆ strdup()

char * strdup ( const char *  src)

◆ strerror()

◆ strlen()

◆ strncat()

_PUBLIC char * strncat ( char *_RESTRICT  s1,
const char *_RESTRICT  s2,
size_t  n 
)

Definition at line 3 of file strncat.c.

◆ strncmp()

_PUBLIC int strncmp ( const char *  s1,
const char *  s2,
size_t  n 
)

Definition at line 3 of file strncmp.c.

Referenced by aml_def_data_region_read().

◆ strncpy()

◆ strpbrk()

_PUBLIC char * strpbrk ( const char *  s1,
const char *  s2 
)

Definition at line 3 of file strpbrk.c.

References NULL.

◆ strrchr()

_PUBLIC char * strrchr ( const char *  s,
int  c 
)

Definition at line 3 of file strrchr.c.

References NULL.

Referenced by path_walk_parent().

◆ strspn()

_PUBLIC size_t strspn ( const char *  s1,
const char *  s2 
)

Definition at line 3 of file strspn.c.

◆ strstr()

_PUBLIC char * strstr ( const char *  s1,
const char *  s2 
)

Definition at line 3 of file strstr.c.

References NULL.

◆ strtok()

_PUBLIC char * strtok ( char *_RESTRICT  s1,
const char *_RESTRICT  s2 
)

Definition at line 4 of file strtok.c.

References NULL, strlen(), and strtok_s().

◆ strxfrm()

_PUBLIC size_t strxfrm ( char *_RESTRICT  s1,
const char *_RESTRICT  s2,
size_t  n 
)

Definition at line 3 of file strxfrm.c.

References strlen().