src/commands/zoneinfo/private.h File Reference

#include "sys/types.h"
#include "stdio.h"
#include "errno.h"
#include "string.h"
#include "limits.h"
#include "time.h"
#include "stdlib.h"
#include <sys/wait.h>
#include "unistd.h"

Go to the source code of this file.

Defines

#define GRANDPARENTED   "Local time zone must be set--see zic manual page"
#define HAVE_ADJTIME   1
#define HAVE_GETTEXT   0
#define HAVE_INCOMPATIBLE_CTIME_R   0
#define HAVE_SETTIMEOFDAY   3
#define HAVE_STRERROR   1
#define HAVE_SYMLINK   1
#define HAVE_SYS_STAT_H   1
#define HAVE_SYS_WAIT_H   1
#define HAVE_UNISTD_H   1
#define HAVE_UTMPX_H   0
#define LOCALE_HOME   "/usr/lib/locale"
#define WIFEXITED(status)   (((status) & 0xff) == 0)
#define WEXITSTATUS(status)   (((status) >> 8) & 0xff)
#define is_digit(c)   ((unsigned)(c) - '0' <= 9)
#define P(x)   ()
#define EXIT_SUCCESS   0
#define EXIT_FAILURE   1
#define FILENAME_MAX   1024
#define remove   unlink
#define TRUE   1
#define FALSE   0
#define TYPE_BIT(type)   (sizeof (type) * CHAR_BIT)
#define TYPE_SIGNED(type)   (((type) -1) < 0)
#define TYPE_INTEGRAL(type)   (((type) 0.5) != 0.5)
#define INT_STRLEN_MAXIMUM(type)
#define INITIALIZE(x)
#define _(msgid)   msgid
#define TZ_DOMAIN   "tz"

Functions

void logwtmp (char *, char *, char *)
int unlink P ((const char *filename))
char * asctime_r (register const struct tm *, char *)
char *icalloc P ((int nelem, int elsize))
char *icatalloc P ((char *old, const char *new))
char *icpyalloc P ((const char *string))
char *imalloc P ((int n))
void *irealloc P ((void *pointer, int size))
void icfree P ((char *pointer))
const char *scheck P ((const char *string, const char *format))

Variables

int errno


Define Documentation

#define _ ( msgid   )     msgid

Definition at line 299 of file private.h.

#define EXIT_FAILURE   1

Definition at line 158 of file private.h.

#define EXIT_SUCCESS   0

Definition at line 150 of file private.h.

#define FALSE   0

Definition at line 233 of file private.h.

#define FILENAME_MAX   1024

Definition at line 177 of file private.h.

#define GRANDPARENTED   "Local time zone must be set--see zic manual page"

Definition at line 28 of file private.h.

#define HAVE_ADJTIME   1

Definition at line 36 of file private.h.

#define HAVE_GETTEXT   0

Definition at line 40 of file private.h.

#define HAVE_INCOMPATIBLE_CTIME_R   0

Definition at line 44 of file private.h.

#define HAVE_SETTIMEOFDAY   3

Definition at line 48 of file private.h.

#define HAVE_STRERROR   1

Definition at line 52 of file private.h.

#define HAVE_SYMLINK   1

Definition at line 56 of file private.h.

#define HAVE_SYS_STAT_H   1

Definition at line 60 of file private.h.

#define HAVE_SYS_WAIT_H   1

Definition at line 64 of file private.h.

#define HAVE_UNISTD_H   1

Definition at line 68 of file private.h.

#define HAVE_UTMPX_H   0

Definition at line 72 of file private.h.

#define INITIALIZE ( x   ) 

Definition at line 285 of file private.h.

#define INT_STRLEN_MAXIMUM ( type   ) 

Value:

((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \
        1 + TYPE_SIGNED(type))

Definition at line 260 of file private.h.

#define is_digit ( c   )     ((unsigned)(c) - '0' <= 9)

Definition at line 127 of file private.h.

#define LOCALE_HOME   "/usr/lib/locale"

Definition at line 76 of file private.h.

#define P ( x   )     ()

Definition at line 141 of file private.h.

#define remove   unlink

Definition at line 188 of file private.h.

#define TRUE   1

Definition at line 229 of file private.h.

#define TYPE_BIT ( type   )     (sizeof (type) * CHAR_BIT)

Definition at line 237 of file private.h.

#define TYPE_INTEGRAL ( type   )     (((type) 0.5) != 0.5)

Definition at line 250 of file private.h.

#define TYPE_SIGNED ( type   )     (((type) -1) < 0)

Definition at line 241 of file private.h.

#define TZ_DOMAIN   "tz"

Definition at line 304 of file private.h.

#define WEXITSTATUS ( status   )     (((status) >> 8) & 0xff)

Definition at line 110 of file private.h.

#define WIFEXITED ( status   )     (((status) & 0xff) == 0)

Definition at line 107 of file private.h.


Function Documentation

char* asctime_r ( register const struct tm ,
char *   
)

void logwtmp ( char *  ,
char *  ,
char *   
)

Definition at line 53 of file logwtmp.c.

const char* scheck P ( (const char *string, const char *format)   ) 

void ifree P ( (char *pointer  ) 

void* irealloc P ( (void *pointer, int size)   ) 

char* imalloc P ( (int n  ) 

char* icpyalloc P ( (const char *string  ) 

char* icatalloc P ( (char *old, const char *new  ) 

char* icalloc P ( (int nelem, int elsize)   ) 

int unlink P ( (const char *filename)   ) 


Variable Documentation

int errno

Definition at line 70 of file rcp.c.


Generated on Tue Mar 9 04:36:45 2010 for Minix by  doxygen 1.5.8