dpkg 1.21.11
Functions
string.c File Reference

(484e77807)

#include <config.h>
#include <compat.h>
#include <string.h>
#include <dpkg/c-ctype.h>
#include <dpkg/dpkg.h>
Include dependency graph for string.c:

Functions

char * str_concat (char *dst,...)
 
bool str_match_end (const char *str, const char *end)
 Match the end of a string. More...
 
char * str_fmt (const char *fmt,...)
 Print formatted output to an allocated string. More...
 
char * str_escape_fmt (char *dst, const char *src, size_t n)
 Escape format characters from a string. More...
 
char * str_quote_meta (const char *src)
 Quote shell metacharacters in a string. More...
 
char * str_strip_quotes (char *str)
 Check and strip possible surrounding quotes in string. More...
 
char * str_rtrim_spaces (const char *str, char *str_end)
 Trim possible ending spaces in string. More...