ftp.nice.ch/pub/next/database/postgres-4.2/postgresLibs.NIHS.b.tar.gz#/postgresLibs.pkg/postgresLibs.tar.gz#/include/libpq/pqsignal.h

This is pqsignal.h in view mode; [Download] [Up]

/* ----------------------------------------------------------------
 *   FILE
 *	pqsignal.h
 *
 *   DESCRIPTION
 *	prototypes for the reliable BSD-style signal(2) routine.
 *
 *   NOTES
 *	This shouldn't be in libpq, but the monitor and some other
 *	things need it...
 *
 *   IDENTIFICATION
 *	/usr/local/devel/postgres-v4r2/src/backend/libpq/RCS/pqsignal.h,v 1.1 1994/02/09 00:12:24 aoki Exp
 * ----------------------------------------------------------------
 */

#ifndef pqsignalIncluded		/* include this file only once */
#define pqsignalIncluded	1

#include <signal.h>

#include "tmp/c.h"

typedef void (*pqsigfunc) ARGS((int));

extern pqsigfunc pqsignal ARGS((int signo, pqsigfunc func));

#if defined(USE_POSIX_SIGNALS)
#define	signal(signo, handler)	pqsignal(signo, (pqsigfunc) handler)
#endif /* USE_POSIX_SIGNALS */

#endif /* pqsignalIncluded */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.