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:
parent
e015aaaee6
commit
fc21e154b9
7 changed files with 64 additions and 15 deletions
3
xio.h
3
xio.h
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue