#include <sys/types.h>#include <sys/stat.h>#include <stdio.h>#include <time.h>#include <strings.h>#include <errno.h>#include <sys/file.h>#include <ctype.h>#include "rpmio/rpmutil.h"#include <sys/param.h>#include <unistd.h>#include <sys/time.h>#include <utime.h>#include <string.h>#include <error.h>#include <stdlib.h>#include <fcntl.h>#include <dirent.h>#include <sys/mman.h>#include <sys/utsname.h>#include <sys/wait.h>#include <getopt.h>#include <grp.h>#include <limits.h>#include <err.h>#include <selinux/selinux.h>#include <sys/capability.h>#include <mcheck.h>#include <netdb.h>#include <pwd.h>#include <locale.h>#include <libintl.h>#include "misc/glob.h"#include "misc/fnmatch.h"#include <sys/socket.h>#include <poll.h>#include <mntent.h>

Go to the source code of this file.
Defines | |
| #define | HAVE_MAJOR |
| #define | getenv(_s) __secure_getenv(_s) |
| #define | getopt system_getopt |
| #define | NLENGTH(direct) (strlen((direct)->d_name)) |
| #define | xmalloc(_size) rmalloc((_size)) |
| #define | xcalloc(_nmemb, _size) rcalloc((_nmemb), (_size)) |
| #define | xrealloc(_ptr, _size) rrealloc((_ptr), (_size)) |
| #define | xstrdup(_str) rstrdup((_str)) |
| #define | _free(_ptr) rfree((_ptr)) |
| #define | _constfree(_ptr) rfree((void *)(_ptr)) |
| #define | __progname program_name |
| #define | setprogname(pn) |
| #define | _(Text) dgettext (PACKAGE, Text) |
| #define | N_(Text) Text |
| #define | our_mntent struct mntent |
| #define | our_mntdir mnt_dir |
| #define | GETMNTENT_ONE 1 |
| #define | GETMNTENT_TWO 0 |
Variables | |
| char ** | environ |
| int | errno |
| const char * | program_name |
Definition in file system.h.
| #define _ | ( | Text | ) | dgettext (PACKAGE, Text) |
Definition at line 285 of file system.h.
Referenced by argerror(), build(), buildForTarget(), checkSpec(), getTarSpec(), isSpecFile(), main(), printBanner(), and printVersion().
| #define __progname program_name |
Definition at line 258 of file system.h.
Referenced by argerror(), and main().
| #define setprogname | ( | pn | ) |
{ if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \
else __progname = pn; \
}
Definition at line 259 of file system.h.
Referenced by main().
| #define xcalloc | ( | _nmemb, | |||
| _size | ) | rcalloc((_nmemb), (_size)) |
| #define xmalloc | ( | _size | ) | rmalloc((_size)) |
| #define xrealloc | ( | _ptr, | |||
| _size | ) | rrealloc((_ptr), (_size)) |
| #define xstrdup | ( | _str | ) | rstrdup((_str)) |
Definition at line 247 of file system.h.
Referenced by buildForTarget(), and main().
| char** environ |
| int errno |
Referenced by isSpecFile().
| const char* program_name |
Definition at line 4 of file rpm2cpio.c.
1.6.2-20100208