system.h File Reference

#include <sys/param.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>
#include <limits.h>
#include <selinux/selinux.h>
#include <selinux/label.h>
#include "rpmio/rpmutil.h"
#include <locale.h>
#include <libintl.h>
#include "misc/glob.h"
#include "misc/fnmatch.h"
#include <dlfcn.h>
Include dependency graph for system.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define getenv(_s)   __secure_getenv(_s)
#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 __progname   program_name
#define setprogname(pn)
#define _(Text)   dgettext (PACKAGE, Text)
#define N_(Text)   Text

Variables

char ** environ
const char * program_name

Detailed Description

Definition in file system.h.


Define Documentation

#define _ ( Text   )     dgettext (PACKAGE, Text)
#define __progname   program_name

Definition at line 118 of file system.h.

Referenced by argerror(), and main().

#define _free ( _ptr   )     rfree((_ptr))

Definition at line 109 of file system.h.

Referenced by main().

#define getenv ( _s   )     __secure_getenv(_s)

Definition at line 39 of file system.h.

#define N_ ( Text   )     Text

Definition at line 135 of file system.h.

#define NLENGTH ( direct   )     (strlen((direct)->d_name))

Definition at line 50 of file system.h.

#define PATH_MAX   256

Definition at line 75 of file system.h.

#define setprogname ( pn   ) 
Value:
{ if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \
    else __progname = pn;               \
  }

Definition at line 119 of file system.h.

Referenced by main().

#define xcalloc ( _nmemb,
_size   )     rcalloc((_nmemb), (_size))

Definition at line 106 of file system.h.

#define xmalloc ( _size   )     rmalloc((_size))

Definition at line 105 of file system.h.

Referenced by main().

#define xrealloc ( _ptr,
_size   )     rrealloc((_ptr), (_size))

Definition at line 107 of file system.h.

Referenced by main().

#define xstrdup ( _str   )     rstrdup((_str))

Definition at line 108 of file system.h.

Referenced by buildArgCallback(), and buildForTarget().


Variable Documentation

char** environ

Definition at line 9 of file rpmdb.c.

Referenced by checkPassPhrase().

const char* program_name

Generated on 26 Nov 2013 for rpm by  doxygen 1.6.1