Macros
win_defs.h File Reference
#include <winsock2.h>
#include <io.h>
#include <stdio.h>
#include <sys/stat.h>
#include <windows.h>
#include <uv.h>

Go to the source code of this file.

Macros

#define NAME_MAX   _MAX_PATH
 
#define TEMP_DIR_NAMES   { "$TMPDIR", "$TMP", "$TEMP", "$USERPROFILE", "" }
 
#define TEMP_FILE_PATH_MAXLEN   _MAX_PATH
 
#define FNAME_ILLEGAL   "\"*?><|"
 
#define ENV_SEPCHAR   ';'
 
#define ENV_SEPSTR   ";"
 
#define USE_CRNL
 
#define RGB_(r, g, b)   ((r << 16) | (g << 8) | b)
 
#define BACKSLASH_IN_FILENAME
 
#define SSIZE_MAX   LONG_MAX
 
#define O_NOFOLLOW   0
 
#define STDIN_FILENO   0
 
#define STDOUT_FILENO   1
 
#define STDERR_FILENO   2
 

Macro Definition Documentation

◆ BACKSLASH_IN_FILENAME

#define BACKSLASH_IN_FILENAME

◆ ENV_SEPCHAR

#define ENV_SEPCHAR   ';'

◆ ENV_SEPSTR

#define ENV_SEPSTR   ";"

◆ FNAME_ILLEGAL

#define FNAME_ILLEGAL   "\"*?><|"

◆ NAME_MAX

#define NAME_MAX   _MAX_PATH

◆ O_NOFOLLOW

#define O_NOFOLLOW   0

◆ RGB_

#define RGB_ (   r,
  g,
 
)    ((r << 16) | (g << 8) | b)

◆ SSIZE_MAX

#define SSIZE_MAX   LONG_MAX

◆ STDERR_FILENO

#define STDERR_FILENO   2

◆ STDIN_FILENO

#define STDIN_FILENO   0

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

◆ TEMP_DIR_NAMES

#define TEMP_DIR_NAMES   { "$TMPDIR", "$TMP", "$TEMP", "$USERPROFILE", "" }

◆ TEMP_FILE_PATH_MAXLEN

#define TEMP_FILE_PATH_MAXLEN   _MAX_PATH

◆ USE_CRNL

#define USE_CRNL