|
Defines |
#define | S_IFMT 0170000 |
#define | S_ISUID 04000 |
#define | S_ISGID 02000 |
#define | S_ISVTX 01000 |
#define | S_IRUSR 00400 |
#define | S_IRGRP (S_IRUSR >> 3) |
#define | S_IROTH (S_IRUSR >> 6) |
#define | S_IWUSR 00200 |
#define | S_IWGRP (S_IWUSR >> 3) |
#define | S_IWOTH (S_IWUSR >> 6) |
#define | S_IXUSR 00100 |
#define | S_IXGRP (S_IXUSR >> 3) |
#define | S_IXOTH (S_IXUSR >> 6) |
#define | S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) |
#define | S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) |
#define | S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) |
#define | S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) |
#define | S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) |
#define | CHMOD_MODE_BITS (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) |
#define | ST_TIME_CMP_NS(a, b, ns) 0 |
#define | ST_TIME_CMP(a, b, s, ns) ((a).s < (b).s ? -1 : (a).s > (b).s ? 1 : ST_TIME_CMP_NS(a, b, ns)) |
#define | ATIME_CMP(a, b) ST_TIME_CMP (a, b, st_atime, st_atim.ST_MTIM_NSEC) |
#define | CTIME_CMP(a, b) ST_TIME_CMP (a, b, st_ctime, st_ctim.ST_MTIM_NSEC) |
#define | MTIME_CMP(a, b) ST_TIME_CMP (a, b, st_mtime, st_mtim.ST_MTIM_NSEC) |
#define | RETSIGTYPE void |
#define | IN_CTYPE_DOMAIN(c) 1 |
#define | ISBLANK(c) ((c) == ' ' || (c) == '\t') |
#define | ISGRAPH(c) (IN_CTYPE_DOMAIN (c) && isprint (c) && !isspace (c)) |
#define | ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint (c)) |
#define | ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum (c)) |
#define | ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) |
#define | ISCNTRL(c) (IN_CTYPE_DOMAIN (c) && iscntrl (c)) |
#define | ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower (c)) |
#define | ISPUNCT(c) (IN_CTYPE_DOMAIN (c) && ispunct (c)) |
#define | ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c)) |
#define | ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c)) |
#define | ISXDIGIT(c) (IN_CTYPE_DOMAIN (c) && isxdigit (c)) |
#define | ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) |
#define | TOLOWER(Ch) (ISUPPER (Ch) ? tolower (Ch) : (Ch)) |
#define | TOUPPER(Ch) (ISLOWER (Ch) ? toupper (Ch) : (Ch)) |
#define | ISDIGIT(c) ((unsigned) (c) - '0' <= 9) |
#define | PARAMS(Args) () |
#define | setlocale(Category, Locale) |
#define | bindtextdomain(Domain, Directory) |
#define | textdomain(Domain) |
#define | dcgettext(Domainname, Text, Category) Text |
#define | _(Text) Text |
#define | N_(Text) Text |
#define | STREQ(a, b) (strcmp ((a), (b)) == 0) |
#define | mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N))) |
#define | SAME_INODE(Stat_buf_1, Stat_buf_2) |
#define | DOT_OR_DOTDOT(Basename) |
#define | SETVBUF(Stream, Buffer, Type, Size) setvbuf (Stream, Buffer, Type, Size) |
#define | GETOPT_HELP_OPTION_DECL "help", no_argument, 0, GETOPT_HELP_CHAR |
#define | GETOPT_VERSION_OPTION_DECL "version", no_argument, 0, GETOPT_VERSION_CHAR |
#define | case_GETOPT_HELP_CHAR |
#define | case_GETOPT_VERSION_CHAR(Program_name, Authors) |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
#define | CHAR_BIT 8 |
#define | TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) |
#define | TYPE_MINIMUM(t) |
#define | TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t))) |
#define | INT_STRLEN_BOUND(t) ((sizeof (t) * CHAR_BIT - 1) * 302 / 1000 + 2) |
#define | CHAR_MIN TYPE_MINIMUM (char) |
#define | CHAR_MAX TYPE_MAXIMUM (char) |
#define | SCHAR_MIN (-1 - SCHAR_MAX) |
#define | SCHAR_MAX (CHAR_MAX == UCHAR_MAX ? CHAR_MAX / 2 : CHAR_MAX) |
#define | UCHAR_MAX TYPE_MAXIMUM (unsigned char) |
#define | SHRT_MIN TYPE_MINIMUM (short int) |
#define | SHRT_MAX TYPE_MAXIMUM (short int) |
#define | INT_MAX TYPE_MAXIMUM (int) |
#define | UINT_MAX TYPE_MAXIMUM (unsigned int) |
#define | LONG_MAX TYPE_MAXIMUM (long) |
#define | ULONG_MAX TYPE_MAXIMUM (unsigned long) |
#define | SIZE_MAX TYPE_MAXIMUM (size_t) |
#define | UINTMAX_MAX TYPE_MAXIMUM (uintmax_t) |
#define | OFF_T_MIN TYPE_MINIMUM (off_t) |
#define | OFF_T_MAX TYPE_MAXIMUM (off_t) |
#define | UID_T_MAX TYPE_MAXIMUM (uid_t) |
#define | GID_T_MAX TYPE_MAXIMUM (gid_t) |
#define | PID_T_MAX TYPE_MAXIMUM (pid_t) |
#define | IF_LINT(Code) |
#define | ATTRIBUTE_UNUSED __attribute__ ((__unused__)) |
#define | ASSIGN_STRDUPA(DEST, S) |
Enumerations |
enum | { GETOPT_HELP_CHAR = (CHAR_MIN - 2),
GETOPT_VERSION_CHAR = (CHAR_MIN - 3)
} |
Functions |
char * | alloca () |
void | free () |
char * | malloc () |
char * | memchr () |
char * | realloc () |
char * | stpcpy () |
char * | strndup () |
char * | strstr () |
char * | getenv () |
off_t | lseek () |
unsigned long | strtoul () |
char * | getlogin () |
char * | ttyname () |
uid_t | geteuid () |
passwd * | getpwuid () |
group * | getgrgid () |
uid_t | getuid () |
char *base_name | PARAMS ((char const *)) |