SM0 She11
Path:
/
/
usr
/
include
/
pgsql
/
server
/
libpq
Full Path (server): /usr/include/pgsql/server/libpq
Create Fil3
Upl04d Fil3
📄 auth.h
[E]
[D]
[R]
📄 be-fsstubs.h
[E]
[D]
[R]
📄 crypt.h
[E]
[D]
[R]
📄 hba.h
[E]
[D]
[R]
📄 ip.h
[E]
[D]
[R]
📄 libpq-be.h
[E]
[D]
[R]
📄 libpq-fs.h
[E]
[D]
[R]
📄 libpq.h
[E]
[D]
[R]
📄 md5.h
[E]
[D]
[R]
📄 pqcomm.h
[E]
[D]
[R]
📄 pqformat.h
[E]
[D]
[R]
📄 pqsignal.h
[E]
[D]
[R]
Editing: pqsignal.h
/*------------------------------------------------------------------------- * * pqsignal.h * prototypes for the reliable BSD-style signal(2) routine. * * * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/libpq/pqsignal.h * * NOTES * This shouldn't be in libpq, but the monitor and some other * things need it... * *------------------------------------------------------------------------- */ #ifndef PQSIGNAL_H #define PQSIGNAL_H #include <signal.h> #ifdef HAVE_SIGPROCMASK extern sigset_t UnBlockSig, BlockSig, StartupBlockSig; #define PG_SETMASK(mask) sigprocmask(SIG_SETMASK, mask, NULL) #else /* not HAVE_SIGPROCMASK */ extern int UnBlockSig, BlockSig, StartupBlockSig; #ifndef WIN32 #define PG_SETMASK(mask) sigsetmask(*((int*)(mask))) #else #define PG_SETMASK(mask) pqsigsetmask(*((int*)(mask))) int pqsigsetmask(int mask); #endif #define sigaddset(set, signum) (*(set) |= (sigmask(signum))) #define sigdelset(set, signum) (*(set) &= ~(sigmask(signum))) #endif /* not HAVE_SIGPROCMASK */ typedef void (*pqsigfunc) (int); extern void pqinitmask(void); extern pqsigfunc pqsignal(int signo, pqsigfunc func); #endif /* PQSIGNAL_H */
Save