#include "system.h"#include "stringbuf.h"#include "debug.h"Go to the source code of this file.
Data Structures | |
| struct | StringBufRec |
Defines | |
| #define | BUF_CHUNK 1024 |
Functions | |
| static int | xisspace (int c) |
| Locale insensitive isspace(3). | |
| static void * | _free (const void *p) |
| Wrapper to free(3), hides const compilation noise, permit NULL, return NULL. | |
| StringBuf | newStringBuf (void) |
| StringBuf | freeStringBuf (StringBuf sb) |
| void | truncStringBuf (StringBuf sb) |
| void | stripTrailingBlanksStringBuf (StringBuf sb) |
| char * | getStringBuf (StringBuf sb) |
| void | appendStringBufAux (StringBuf sb, const char *s, int nl) |
Definition in file stringbuf.c.
| #define BUF_CHUNK 1024 |
Definition at line 10 of file stringbuf.c.
| static void* _free | ( | const void * | p | ) | [inline, static] |
Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
| p | memory to free |
Definition at line 32 of file stringbuf.c.
| void appendStringBufAux | ( | StringBuf | sb, | |
| const char * | s, | |||
| int | nl | |||
| ) |
Definition at line 83 of file stringbuf.c.
Definition at line 50 of file stringbuf.c.
| char* getStringBuf | ( | StringBuf | sb | ) |
Definition at line 78 of file stringbuf.c.
| StringBuf newStringBuf | ( | void | ) |
Definition at line 38 of file stringbuf.c.
| void stripTrailingBlanksStringBuf | ( | StringBuf | sb | ) |
Definition at line 66 of file stringbuf.c.
| void truncStringBuf | ( | StringBuf | sb | ) |
Definition at line 59 of file stringbuf.c.
| static int xisspace | ( | int | c | ) | [inline, static] |
1.5.6