hollyhock
Loading...
Searching...
No Matches
string.h File Reference

String manipulation functions. More...

Go to the source code of this file.

Macros

#define __UCONCAT(a, b)
#define _UCONCAT(a, b)
#define UCONCAT(b)
#define cstr(x)
#define ro(...)
#define rw(...)
#define wo(...)
#define inline   inline __attribute__((always_inline))

Variables

char *(* String_Strcat )(char *dest, const char *src) cstr(1) cstr(2) rw(1) ro(2)
const char *(* _FP_String_Strchr )(const char *str, char c) __asm__(UCONCAT("String_Strchr")) cstr(1) ro(1)
static char c
int(* _FP_String_Strcmp )(const char *str1, const char *str2) __asm__(UCONCAT("String_Strcmp")) cstr(1) cstr(2) ro(1) ro(2)
static const char * str2
char *(* String_Strcpy )(char *destination, const char *source) cstr(2) wo(1) ro(2)
unsigned int(* _FP_String_Strlen )(const char *str) __asm__(UCONCAT("String_Strlen")) cstr(1) ro(1)

Detailed Description

String manipulation functions.

For documentation, see the C standard library.

Macro Definition Documentation

◆ __UCONCAT

#define __UCONCAT ( a,
b )
Value:
#a b

◆ _UCONCAT

#define _UCONCAT ( a,
b )
Value:
__UCONCAT(a, b)

◆ cstr

#define cstr ( x)
Value:
__attribute__((null_terminated_string_arg(x)))

◆ ro

#define ro ( ...)
Value:
__attribute__((access(read_only, __VA_ARGS__)))

◆ rw

#define rw ( ...)
Value:
__attribute__((access(read_write, __VA_ARGS__)))

◆ UCONCAT

#define UCONCAT ( b)
Value:
_UCONCAT(__USER_LABEL_PREFIX__, b)

◆ wo

#define wo ( ...)
Value:
__attribute__((access(write_only, __VA_ARGS__)))

Variable Documentation

◆ c

char c
Initial value:
{
return _FP_String_Strchr(str, c)

◆ str2

const char* str2
Initial value:
{
return _FP_String_Strcmp(str1, str2)