📄 p4_sys.h
字号:
/* We need strings before string for systems that have both (index is in strings but not string) */#if defined(HAVE_STRINGS_H)#include <strings.h>#if defined(HAVE_STRING_H) && defined(BOTH_STRING_INCS)#include <string.h>#endif#else#if defined(HAVE_STRING_H)#include <string.h>#else#ifdef P4BSD#include <strings.h>#endif#ifdef P4SYSV#include <string.h>#endif#endif /* STRINGS_H */#endif /* STRING_H */#include "p4_patchlevel.h"#include "p4_sock_util.h" #ifndef TRUE#define TRUE 1#endif#ifndef FALSE#define FALSE 0#endif/*****extern int errno;extern char *sys_errlist[];*****/#define PRECV_EOF -1#ifndef LISTENER_ATTN_SIGNAL#define LISTENER_ATTN_SIGNAL SIGUSR1#endif#define LISTENER_ID (-99)#include "p4_defs.h"#include "p4_sys_funcs.h"#include "p4_macros.h"#include "p4_globals.h"#ifndef MAX_P4_CONN_BACKLOG#define MAX_P4_CONN_BACKLOG 32#endif#ifdef P4_WITH_MPD#include "bnr.h" /* BNR interface to mpd */#endif/* This is sometimes found in sys/param.h. We only need a long name */#ifndef MAXHOSTNAMELEN#define MAXHOSTNAMELEN 256#endif#define BEGIN_USER 101#define END_USER 102#define BEGIN_SEND 103#define END_SEND 104#define BEGIN_RECV 105#define END_RECV 106#define BEGIN_WAIT 107#define END_WAIT 108#define UPDATE_NUM_SUBPROBS 200#define REQUEST_MONITOR_ENTRY 201#define ENTER_MONITOR 202#define EXIT_MONITOR 203#define OPEN_DOOR 204#define ENTER_DELAY_QUEUE 205#define EXIT_DELAY_QUEUE 206#define SECRET_EXIT_MONITOR 207#define PBDONE 208#define PGDONE 209
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -