#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.
|
| void * | xmalloc (size_t size) |
| |
| void * | xcalloc (size_t nmemb, size_t size) |
| |
| void * | xrealloc (void *ptr, size_t size) |
| |
| char * | xstrdup (const char *str) |
| |
| static char * | stpcpy (char *dest, const char *src) |
| |
◆ __attribute__
| #define __attribute__ |
( |
|
x | ) |
|
◆ _isspaceptr
| #define _isspaceptr |
( |
|
_chp | ) |
isspace((int)(*(unsigned char *)(_chp))) |
◆ UNUSED
◆ xcalloc
| #define xcalloc |
( |
|
_nmemb, |
|
|
|
_size |
|
) |
| calloc((_nmemb), (_size)) |
◆ xmalloc
| #define xmalloc |
( |
|
_size | ) |
malloc(_size) |
◆ xrealloc
| #define xrealloc |
( |
|
_ptr, |
|
|
|
_size |
|
) |
| realloc((_ptr), (_size)) |
◆ xstrdup
| #define xstrdup |
( |
|
_str | ) |
strdup(_str) |
◆ stpcpy()
| static char* stpcpy |
( |
char * |
dest, |
|
|
const char * |
src |
|
) |
| |
|
inlinestatic |
◆ xcalloc()
| void* xcalloc |
( |
size_t |
nmemb, |
|
|
size_t |
size |
|
) |
| |
◆ xmalloc()
| void* xmalloc |
( |
size_t |
size | ) |
|
◆ xrealloc()
| void* xrealloc |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
◆ xstrdup()
| char* xstrdup |
( |
const char * |
str | ) |
|
Referenced by findProgramPath(), POPT_next_char(), poptAddItem(), poptGetContext(), poptGetNextOpt(), poptGlob(), poptReadConfigFiles(), poptSaveArg(), poptSaveBits(), poptSaveString(), poptSetExecPath(), poptSetOtherOptionHelp(), and singleOptionHelp().