ze-filter  (ze-filter-0.8.0-develop-180218)
ze-sys.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>

Go to the source code of this file.

Classes

union  JSOCKADDR_T
 

Macros

#define OS_OTHER
 
#define strchr   index
 
#define strrchr   rindex
 
#define memcpy(d, s, n)   bcopy ((s), (d), (n))
 
#define memmove(d, s, n)   bcopy ((s), (d), (n))
 
#define __bool_true_false_are_defined   1
 
#define true   1
 
#define false   0
 
#define WEXITSTATUS(stat_val)   ((unsigned int)(stat_val) >> 8)
 
#define WIFEXITED(stat_val)   (((stat_val) & 255) == 0)
 
#define isblank(c)   ((c) == ' ' || (c) == '\t')
 
#define ZE_FUNCTION   __FILE__
 
#define ZE_PRETTY_FUNCTION   __FILE__
 
#define _POSIX2_LINE_MAX   2048
 
#define CTIME_R(t, s)   ctime_r(t,s,sizeof(s))
 
#define strtoull   strtoul
 
#define __ZE_SYS_H
 

Typedefs

typedef unsigned char uchar
 
typedef short int16_t
 
typedef unsigned short uint16_t
 
typedef long uint32_t
 
typedef unsigned long off_t
 
typedef unsigned int mode_t
 
typedef long ssize_t
 
typedef int socket_t
 
typedef int socklen_t
 
typedef uint32_t in_addr_t
 

Functions

char * strchr ()
 
char * strrchr ()
 
size_t strlcpy (char *, const char *, size_t)
 
size_t strlcat (char *, const char *, size_t)
 

Variables

Error dont have limits h nor values h typedef int bool
 

Macro Definition Documentation

◆ __bool_true_false_are_defined

#define __bool_true_false_are_defined   1

Definition at line 263 of file ze-sys.h.

◆ __ZE_SYS_H

#define __ZE_SYS_H

Definition at line 609 of file ze-sys.h.

◆ _POSIX2_LINE_MAX

#define _POSIX2_LINE_MAX   2048

Definition at line 586 of file ze-sys.h.

◆ CTIME_R

#define CTIME_R (   t,
 
)    ctime_r(t,s,sizeof(s))

Definition at line 597 of file ze-sys.h.

◆ false

#define false   0

Definition at line 268 of file ze-sys.h.

◆ isblank

#define isblank (   c)    ((c) == ' ' || (c) == '\t')

Definition at line 454 of file ze-sys.h.

◆ memcpy

#define memcpy (   d,
  s,
 
)    bcopy ((s), (d), (n))

Definition at line 224 of file ze-sys.h.

◆ memmove

#define memmove (   d,
  s,
 
)    bcopy ((s), (d), (n))

Definition at line 225 of file ze-sys.h.

◆ OS_OTHER

#define OS_OTHER

Definition at line 37 of file ze-sys.h.

◆ strchr

#define strchr   index

Definition at line 218 of file ze-sys.h.

◆ strrchr

#define strrchr   rindex

Definition at line 219 of file ze-sys.h.

◆ strtoull

#define strtoull   strtoul

Definition at line 604 of file ze-sys.h.

◆ true

#define true   1

Definition at line 267 of file ze-sys.h.

◆ WEXITSTATUS

#define WEXITSTATUS (   stat_val)    ((unsigned int)(stat_val) >> 8)

Definition at line 305 of file ze-sys.h.

◆ WIFEXITED

#define WIFEXITED (   stat_val)    (((stat_val) & 255) == 0)

Definition at line 308 of file ze-sys.h.

◆ ZE_FUNCTION

#define ZE_FUNCTION   __FILE__

Definition at line 471 of file ze-sys.h.

◆ ZE_PRETTY_FUNCTION

#define ZE_PRETTY_FUNCTION   __FILE__

Definition at line 472 of file ze-sys.h.

Typedef Documentation

◆ in_addr_t

Definition at line 541 of file ze-sys.h.

◆ int16_t

typedef short int16_t

Definition at line 481 of file ze-sys.h.

◆ mode_t

typedef unsigned int mode_t

Definition at line 519 of file ze-sys.h.

◆ off_t

typedef unsigned long off_t

Definition at line 515 of file ze-sys.h.

◆ socket_t

typedef int socket_t

Definition at line 527 of file ze-sys.h.

◆ socklen_t

typedef int socklen_t

Definition at line 534 of file ze-sys.h.

◆ ssize_t

typedef long ssize_t

Definition at line 523 of file ze-sys.h.

◆ uchar

typedef unsigned char uchar

Definition at line 477 of file ze-sys.h.

◆ uint16_t

typedef unsigned short uint16_t

Definition at line 485 of file ze-sys.h.

◆ uint32_t

typedef unsigned long uint32_t

Definition at line 489 of file ze-sys.h.

Function Documentation

◆ strchr()

char* strchr ( )

◆ strlcat()

size_t strlcat ( char *  ,
const char *  ,
size_t   
)

◆ strlcpy()

size_t strlcpy ( char *  ,
const char *  ,
size_t   
)

◆ strrchr()

char * strrchr ( )

Variable Documentation

◆ bool

Error dont have limits h nor values h typedef int bool

Definition at line 261 of file ze-sys.h.