unix_defs.h (667B)
1 #pragma once 2 // IWYU pragma: private, include "nvim/os/os_defs.h" 3 4 // IWYU pragma: begin_exports 5 #include <arpa/inet.h> 6 #include <netdb.h> 7 #include <netinet/in.h> 8 #include <pthread.h> 9 #include <sys/param.h> 10 #include <sys/socket.h> 11 #include <unistd.h> 12 #if defined(HAVE_TERMIOS_H) 13 # include <termios.h> 14 #endif 15 // IWYU pragma: end_exports 16 17 #define TEMP_DIR_NAMES { "$TMPDIR", "/tmp", ".", "~" } 18 #define TEMP_FILE_PATH_MAXLEN 256 19 20 #define HAVE_ACL (HAVE_POSIX_ACL || HAVE_SOLARIS_ACL) 21 22 // Special wildcards that need to be handled by the shell. 23 #define SPECIAL_WILDCHAR "`'{" 24 25 // Character that separates entries in $PATH. 26 #define ENV_SEPCHAR ':' 27 #define ENV_SEPSTR ":"