String utility functions defined shall provide basic string copying capabilities.
David Robbins, MHPCC
Definition in file psString.h.
#include <sys/types.h>
#include "psType.h"
#include "psList.h"
Include dependency graph for psString.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | PS_STRING(S) #S |
| This macro will convert the argument to a quoted string. | |
| #define | PS_FILE_LINE p_psFileLine(__FILE__,__LINE__) |
Functions | |
| const char * | p_psFileLine (const char *file, int line) |
| This macro returns a (static buffer containing) "file:line". | |
| psString | psStringCopy (const char *string) |
| Copies the input string. | |
| psString | psStringNCopy (const char *string, unsigned int nChar) |
| Copies the input string up to the specified number of characters. | |
| ssize_t | psStringAppend (char **dest, const char *format,...) |
| Appends a format onto a string. | |
| ssize_t | psStringPrepend (char **dest, const char *format,...) |
| Prepends a format onto a string. | |
| psList * | psStringSplit (const char *string, const char *splitters, bool multipleAreSignificant) |
| Procedure to split the input string into a psList of psStrings. | |
| psArray * | psStringSplitArray (const char *string, const char *splitters, bool multipleAreSignificant) |
| Procedure to split the input string into a psArray of psStrings. | |
| char * | psStringSubstitute (char *input, const char *replace, const char *key) |
| Procedure to search an input string and substitute strings where desired. | |
| size_t | psStringStrip (char *string) |
| Procedure to strip the whitespace from the head and tail of a string. | |
|
|
Definition at line 34 of file psString.h. |
|
|
This macro will convert the argument to a quoted string.
Definition at line 30 of file psString.h. |
|
||||||||||||
|
This macro returns a (static buffer containing) "file:line".
|
1.4.4