1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-07 21:36:32 +00:00

Check pipe size for possible blocking

This commit is contained in:
Gerhard Rieger 2023-11-06 21:42:11 +01:00
parent e015aaaee6
commit fc21e154b9
7 changed files with 64 additions and 15 deletions

3
xio.h
View file

@ -104,7 +104,7 @@ typedef uint32_t groups_t;
#endif
/* global XIO options/parameters */
typedef struct {
typedef struct xioparms {
bool strictopts;
const char *pipesep;
const char *paramsep;
@ -119,6 +119,7 @@ typedef struct {
bool experimental; /* enable some features */
const char *sniffleft_name; /* file name with -r */
const char *sniffright_name; /* file name with -R */
size_t bufsiz;
} xioparms_t;
/* pack the description of a lock file */