| rpm
    4.10.0
    | 
String manipulation helper functions. More...
#include <stddef.h>#include <string.h>#include <rpm/rpmutil.h>
Go to the source code of this file.
| Functions | |
| static RPM_GNUC_CONST int | rislower (int c) | 
| Locale insensitive islower(3) | |
| static RPM_GNUC_CONST int | risupper (int c) | 
| Locale insensitive isupper(3) | |
| static RPM_GNUC_CONST int | risalpha (int c) | 
| Locale insensitive isalpha(3) | |
| static RPM_GNUC_CONST int | risdigit (int c) | 
| Locale insensitive isdigit(3) | |
| static RPM_GNUC_CONST int | risalnum (int c) | 
| Locale insensitive isalnum(3) | |
| static RPM_GNUC_CONST int | risblank (int c) | 
| Locale insensitive isblank(3) | |
| static RPM_GNUC_CONST int | risspace (int c) | 
| Locale insensitive isspace(3) | |
| static RPM_GNUC_CONST int | rtolower (int c) | 
| Locale insensitive tolower(3) | |
| static RPM_GNUC_CONST int | rtoupper (int c) | 
| Locale insensitive toupper(3) | |
| static RPM_GNUC_CONST unsigned char | rnibble (char c) | 
| Convert hex to binary nibble. | |
| static int | rstreq (const char *s1, const char *s2) | 
| Test for string equality. | |
| static int | rstreqn (const char *s1, const char *s2, size_t n) | 
| Test for string equality. | |
| RPM_GNUC_PURE int | rstrcasecmp (const char *s1, const char *s2) | 
| Locale insensitive strcasecmp(3). | |
| RPM_GNUC_PURE int | rstrncasecmp (const char *s1, const char *s2, size_t n) | 
| Locale insensitive strncasecmp(3). | |
| int | rasprintf (char **strp, const char *fmt,...) RPM_GNUC_PRINTF(2 | 
| asprintf() clone | |
| int char * | rstrcat (char **dest, const char *src) | 
| Concatenate two strings with dynamically (re)allocated memory. | |
| char * | rstrscat (char **dest, const char *arg,...) RPM_GNUC_NULL_TERMINATED | 
| Concatenate multiple strings with dynamically (re)allocated memory. | |
| size_t | rstrlcpy (char *dest, const char *src, size_t n) | 
| strlcpy() clone: Copy src to string dest of size n. | |
| RPM_GNUC_PURE unsigned int | rstrhash (const char *string) | 
| String hashing function. | |
String manipulation helper functions.
Definition in file rpmstring.h.
| static RPM_GNUC_CONST unsigned char rnibble | ( | char | c | ) |  [inline, static] | 
Convert hex to binary nibble.
| c | hex character | 
Definition at line 96 of file rpmstring.h.
| static int rstreq | ( | const char * | s1, | 
| const char * | s2 | ||
| ) |  [inline, static] | 
Test for string equality.
| s1 | string 1 | 
| s2 | string 2 | 
Definition at line 113 of file rpmstring.h.
Referenced by main(), buildForTarget(), checkPassPhrase(), and doSign().
| static int rstreqn | ( | const char * | s1, | 
| const char * | s2, | ||
| size_t | n | ||
| ) |  [inline, static] | 
Test for string equality.
| s1 | string 1 | 
| s2 | string 2 | 
| n | compare at most n characters | 
Definition at line 125 of file rpmstring.h.
 1.7.5
 1.7.5