hollyhock
Loading...
Searching...
No Matches
Macros | Variables
string.h File Reference

String manipulation functions. More...

Go to the source code of this file.

Macros

#define __UCONCAT(a, b)   #a b
 
#define _UCONCAT(a, b)   __UCONCAT(a, b)
 
#define UCONCAT(b)   _UCONCAT(__USER_LABEL_PREFIX__, b)
 
#define cstr(x)   __attribute__((null_terminated_string_arg(x)))
 
#define ro(...)   __attribute__((access(read_only, __VA_ARGS__)))
 
#define rw(...)   __attribute__((access(read_write, __VA_ARGS__)))
 
#define wo(...)   __attribute__((access(write_only, __VA_ARGS__)))
 
#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.

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)