fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
str.c File Reference

string handling functions More...

#include "str.h"
#include "stralloc.h"
Include dependency graph for str.c:

Go to the source code of this file.

Functions

unsigned int str_copy (char *s, const char *t)
 
unsigned int str_copyb (char *s, const char *t, unsigned int max)
 
int str_diff (const char *s, const char *t)
 
int str_diffn (const char *s, const char *t, unsigned int len)
 
unsigned int str_len (const char *s)
 
unsigned int str_chr (const char *s, int c)
 
unsigned int str_rchr (const char *s, int c)
 
int str_start (const char *s, const char *t)
 
char * str_append (char *dest, char const *s)
 

Detailed Description

string handling functions

Authors
djb, feh qmail

Definition in file str.c.

Function Documentation

◆ str_append()

char * str_append ( char *  dest,
char const *  s 
)

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 
)

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 
)

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 
)

Definition at line 24 of file str.c.

◆ str_diff()

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

Definition at line 40 of file str.c.

◆ str_diffn()

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

Definition at line 54 of file str.c.

◆ str_len()

unsigned int str_len ( const char *  s)

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 
)

Definition at line 97 of file str.c.

◆ str_start()

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

Definition at line 116 of file str.c.

Here is the caller graph for this function: