#include <sys/types.h>#include <sys/stat.h>#include <stdio.h>#include <sys/param.h>#include <unistd.h>#include <sys/time.h>#include <time.h>#include <utime.h>#include <string.h>#include <errno.h>#include <error.h>#include <stdlib.h>#include <fcntl.h>#include <dirent.h>#include <ctype.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 "rpmio/rpmutil.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 | major(dev) (((dev) >> 8) & 0xff) |
| #define | minor(dev) ((dev) & 0xff) |
| #define | makedev(maj, min) (((maj) << 8) | (min)) |
| #define | getenv(_s) __secure_getenv(_s) |
| #define | getopt system_getopt |
| #define | EXIT_FAILURE 1 |
| #define | SEEK_SET 0 |
| #define | SEEK_CUR 1 |
| #define | SEEK_END 2 |
| #define | F_OK 0 |
| #define | X_OK 1 |
| #define | W_OK 2 |
| #define | R_OK 4 |
| #define | NLENGTH(direct) (strlen((direct)->d_name)) |
| #define | PATH_MAX 256 |
| #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 |
| #define | MOUNTED "/etc/mnttab" |
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 EXIT_FAILURE 1 |
Definition at line 115 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 |
1.6.1