ReactOS 0.4.16-dev-319-g6cf4263
syshdrs.h File Reference
#include <winsock2.h>
#include <process.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stddef.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
#include <time.h>
#include <io.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
#include <assert.h>
#include <utime.h>
#include <direct.h>
#include "Strn/Strn.h"
#include "libncftp/ncftp.h"
Include dependency graph for syshdrs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SELECT_TYPE_ARG1   int
 
#define SELECT_TYPE_ARG234   (fd_set *)
 
#define SELECT_TYPE_ARG5   (struct timeval *)
 
#define STDC_HEADERS   1
 
#define HAVE_GETHOSTNAME   1
 
#define HAVE_MKTIME   1
 
#define HAVE_SOCKET   1
 
#define HAVE_STRSTR   1
 
#define HAVE_MEMMOVE   1
 
#define HAVE_LONG_FILE_NAMES   1
 
#define strcasecmp   stricmp
 
#define strncasecmp   strnicmp
 
#define sleep   WinSleep
 
#define S_ISREG(m)   (((m) & _S_IFMT) == _S_IFREG)
 
#define S_ISDIR(m)   (((m) & _S_IFMT) == _S_IFDIR)
 
#define open   _open
 
#define write   _write
 
#define read   _read
 
#define close   _close
 
#define lseek   _lseek
 
#define stat   _stat
 
#define lstat   _stat
 
#define fstat   _fstat
 
#define dup   _dup
 
#define utime   _utime
 
#define utimbuf   _utimbuf
 
#define chdir   _chdir
 
#define rmdir   _rmdir
 
#define getpid   _getpid
 
#define popen   _popen
 
#define pclose   _pclose
 
#define unlink   remove
 
#define uid_t   int
 
#define NO_SIGNALS   1
 
#define USE_SIO   1
 
#define FOPEN_READ_TEXT   "rt"
 
#define FOPEN_WRITE_TEXT   "wt"
 
#define FOPEN_APPEND_TEXT   "at"
 
#define STDIN_FILENO   0
 
#define STDOUT_FILENO   1
 
#define STDERR_FILENO   2
 
#define NDEBUG   1 /* For assertions. */
 
#define Open   open
 
#define Stat   stat
 
#define Fstat   fstat
 
#define Lstat   lstat
 
#define Lseek(a, b, c)   lseek(a, (off_t) b, c)
 

Macro Definition Documentation

◆ chdir

#define chdir   _chdir

Definition at line 69 of file syshdrs.h.

◆ close

#define close   _close

Definition at line 61 of file syshdrs.h.

◆ dup

#define dup   _dup

Definition at line 66 of file syshdrs.h.

◆ FOPEN_APPEND_TEXT

#define FOPEN_APPEND_TEXT   "at"

Definition at line 84 of file syshdrs.h.

◆ FOPEN_READ_TEXT

#define FOPEN_READ_TEXT   "rt"

Definition at line 82 of file syshdrs.h.

◆ FOPEN_WRITE_TEXT

#define FOPEN_WRITE_TEXT   "wt"

Definition at line 83 of file syshdrs.h.

◆ fstat

#define fstat   _fstat

Definition at line 65 of file syshdrs.h.

◆ Fstat

#define Fstat   fstat

Definition at line 115 of file syshdrs.h.

◆ getpid

#define getpid (   void)    _getpid

Definition at line 71 of file syshdrs.h.

◆ HAVE_GETHOSTNAME

#define HAVE_GETHOSTNAME   1

Definition at line 16 of file syshdrs.h.

◆ HAVE_LONG_FILE_NAMES

#define HAVE_LONG_FILE_NAMES   1

Definition at line 21 of file syshdrs.h.

◆ HAVE_MEMMOVE

#define HAVE_MEMMOVE   1

Definition at line 20 of file syshdrs.h.

◆ HAVE_MKTIME

#define HAVE_MKTIME   1

Definition at line 17 of file syshdrs.h.

◆ HAVE_SOCKET

#define HAVE_SOCKET   1

Definition at line 18 of file syshdrs.h.

◆ HAVE_STRSTR

#define HAVE_STRSTR   1

Definition at line 19 of file syshdrs.h.

◆ lseek

#define lseek   _lseek

Definition at line 62 of file syshdrs.h.

◆ Lseek

#define Lseek (   a,
  b,
  c 
)    lseek(a, (off_t) b, c)

Definition at line 132 of file syshdrs.h.

◆ lstat

#define lstat   _stat

Definition at line 64 of file syshdrs.h.

◆ Lstat

#define Lstat   lstat

Definition at line 116 of file syshdrs.h.

◆ NDEBUG

#define NDEBUG   1 /* For assertions. */

Definition at line 93 of file syshdrs.h.

◆ NO_SIGNALS

#define NO_SIGNALS   1

Definition at line 79 of file syshdrs.h.

◆ open

#define open   _open

Definition at line 58 of file syshdrs.h.

◆ Open

#define Open   open

Definition at line 98 of file syshdrs.h.

◆ pclose

#define pclose   _pclose

Definition at line 73 of file syshdrs.h.

◆ popen

#define popen   _popen

Definition at line 72 of file syshdrs.h.

◆ read

#define read   _read

Definition at line 60 of file syshdrs.h.

◆ rmdir

#define rmdir   _rmdir

Definition at line 70 of file syshdrs.h.

◆ S_ISDIR

#define S_ISDIR (   m)    (((m) & _S_IFMT) == _S_IFDIR)

Definition at line 55 of file syshdrs.h.

◆ S_ISREG

#define S_ISREG (   m)    (((m) & _S_IFMT) == _S_IFREG)

Definition at line 54 of file syshdrs.h.

◆ SELECT_TYPE_ARG1

#define SELECT_TYPE_ARG1   int

Definition at line 12 of file syshdrs.h.

◆ SELECT_TYPE_ARG234

#define SELECT_TYPE_ARG234   (fd_set *)

Definition at line 13 of file syshdrs.h.

◆ SELECT_TYPE_ARG5

#define SELECT_TYPE_ARG5   (struct timeval *)

Definition at line 14 of file syshdrs.h.

◆ sleep

#define sleep   WinSleep

Definition at line 52 of file syshdrs.h.

◆ stat

#define stat   _stat

Definition at line 63 of file syshdrs.h.

◆ Stat

#define Stat   stat

Definition at line 114 of file syshdrs.h.

◆ STDC_HEADERS

#define STDC_HEADERS   1

Definition at line 15 of file syshdrs.h.

◆ STDERR_FILENO

#define STDERR_FILENO   2

Definition at line 90 of file syshdrs.h.

◆ STDIN_FILENO

#define STDIN_FILENO   0

Definition at line 88 of file syshdrs.h.

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Definition at line 89 of file syshdrs.h.

◆ strcasecmp

#define strcasecmp   stricmp

Definition at line 49 of file syshdrs.h.

◆ strncasecmp

#define strncasecmp   strnicmp

Definition at line 51 of file syshdrs.h.

◆ uid_t

#define uid_t   int

Definition at line 78 of file syshdrs.h.

◆ unlink

#define unlink   remove

Definition at line 76 of file syshdrs.h.

◆ USE_SIO

#define USE_SIO   1

Definition at line 80 of file syshdrs.h.

◆ utimbuf

Definition at line 68 of file syshdrs.h.

◆ utime

#define utime   _utime

Definition at line 67 of file syshdrs.h.

◆ write

#define write   _write

Definition at line 59 of file syshdrs.h.