fehQlibs 27
Qlibs
Loading...
Searching...
No Matches
str.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define str_equal(s, t)
 
#define str_cat(s, t)
 

Functions

unsigned int str_copy (char *, const char *)
 
unsigned int str_copyb (char *, const char *, unsigned int)
 
int str_diff (const char *, const char *)
 
int str_diffn (const char *, const char *, unsigned int)
 
unsigned int str_len (const char *)
 
unsigned int str_chr (const char *, int)
 
unsigned int str_rchr (const char *, int)
 
int str_start (const char *, const char *)
 
char * str_append (char *out, const char *s)
 

Macro Definition Documentation

◆ str_cat

#define str_cat ( s,
t )
Value:
char * str_append(char *out, const char *s)
Definition str.c:128

Definition at line 23 of file str.h.

◆ str_equal

#define str_equal ( s,
t )
Value:
(!str_diff((s),(t)))
int str_diff(const char *, const char *)
Definition str.c:40

Definition at line 22 of file str.h.

Function Documentation

◆ str_append()

char * str_append ( char * out,
const char * s )
extern

Definition at line 128 of file str.c.

Here is the call graph for this function:

◆ str_chr()

unsigned int str_chr ( const char * s,
int c )
extern

Definition at line 81 of file str.c.

Here is the caller graph for this function:

◆ str_copy()

unsigned int str_copy ( char * s,
const char * t )
extern

Definition at line 11 of file str.c.

Here is the caller graph for this function:

◆ str_copyb()

unsigned int str_copyb ( char * s,
const char * t,
unsigned int max )
extern

Definition at line 24 of file str.c.

◆ str_diff()

int str_diff ( const char * s,
const char * t )
extern

Definition at line 40 of file str.c.

◆ str_diffn()

int str_diffn ( const char * s,
const char * t,
unsigned int len )
extern

Definition at line 54 of file str.c.

◆ str_len()

unsigned int str_len ( const char * s)
extern

Definition at line 68 of file str.c.

Here is the caller graph for this function:

◆ str_rchr()

unsigned int str_rchr ( const char * s,
int c )
extern

Definition at line 97 of file str.c.

◆ str_start()

int str_start ( const char * s,
const char * t )
extern

Definition at line 116 of file str.c.

Here is the caller graph for this function: