popt
1.16
|
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "popt.h"
Go to the source code of this file.
Defines | |
#define | _isspaceptr(_chp) isspace((int)(*(unsigned char *)(_chp))) |
#define | xmalloc(_size) malloc(_size) |
#define | xcalloc(_nmemb, _size) calloc((_nmemb), (_size)) |
#define | xrealloc(_ptr, _size) realloc((_ptr), (_size)) |
#define | xstrdup(_str) strdup(_str) |
#define | UNUSED(x) x __attribute__((__unused__)) |
Functions | |
void * | malloc (size_t size) |
void * | calloc ((size_t nmemb),(size_t size)) |
void * | realloc ((void *ptr),(size_t size)) |
char * | strdup (const char *str) |
static char * | stpcpy (char *dest, const char *src) |
#define _isspaceptr | ( | _chp | ) | isspace((int)(*(unsigned char *)(_chp))) |
Definition at line 21 of file system.h.
Referenced by poptConfigFileToString(), poptConfigLine(), poptParseArgvString(), poptReadConfigFile(), and singleOptionHelp().
Definition at line 90 of file system.h.
Referenced by poptSaveString().
Definition at line 91 of file system.h.
Referenced by findProgramPath(), poptAddItem(), poptGetContext(), poptGetNextOpt(), poptGlob(), poptReadConfigFiles(), poptSaveArg(), poptSaveBits(), poptSaveString(), poptSetExecPath(), poptSetOtherOptionHelp(), and singleOptionHelp().
void* calloc | ( | (size_t nmemb) | , |
(size_t size) | |||
) |
void* malloc | ( | size_t | size | ) |
void* realloc | ( | (void *ptr) | , |
(size_t size) | |||
) |
Referenced by expandNextArg(), handleExec(), POPT_fprintf(), poptAddItem(), poptConfigFileToString(), poptConfigLine(), poptGetNextOpt(), and poptParseArgvString().
static char* stpcpy | ( | char * | dest, |
const char * | src | ||
) | [inline, static] |
Definition at line 69 of file system.h.
Referenced by execCommand(), expandNextArg(), findProgramPath(), handleExec(), poptConfigLine(), poptDupArgv(), poptGetNextOpt(), poptReadDefaultConfig(), singleOptionDefaultValue(), and singleOptionHelp().
char* strdup | ( | const char * | str | ) |