mirror of
https://repo.or.cz/socat.git
synced 2025-07-06 13:06:33 +00:00
Made code async-signal-safe
This commit is contained in:
parent
e4c6f3d934
commit
2af0495cc6
25 changed files with 1707 additions and 625 deletions
|
@ -1,12 +1,18 @@
|
|||
/* source: procan_main.c */
|
||||
/* Copyright Gerhard Rieger 2001-2008 */
|
||||
/* Copyright Gerhard Rieger */
|
||||
/* Published under the GNU General Public License V.2, see file COPYING */
|
||||
|
||||
const char copyright[] = "procan by Gerhard Rieger - send bug reports to socat@dest-unreach.org";
|
||||
|
||||
#include <signal.h> /* sig_atomic_t for error.h */
|
||||
#include <time.h> /* struct timespec for error.h */
|
||||
#include <stdlib.h> /* strtoul() */
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "config.h"
|
||||
#if HAVE_SYS_SELECT_H
|
||||
#include <sys/select.h> /* select(), fdset on FreeBSD */
|
||||
#endif
|
||||
#include "mytypes.h"
|
||||
#include "error.h"
|
||||
#include "procan.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue