tidy up some common code
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
13
lib/hcl-x.h
13
lib/hcl-x.h
@ -487,13 +487,24 @@ HCL_EXPORT int hcl_sys_send_iov (
|
||||
);
|
||||
|
||||
HCL_EXPORT int hcl_sys_open_pipes (
|
||||
int pfd[2]
|
||||
int pfd[2],
|
||||
int nonblock
|
||||
);
|
||||
|
||||
HCL_EXPORT void hcl_sys_close_pipes (
|
||||
int pfd[2]
|
||||
);
|
||||
|
||||
HCL_EXPORT int hcl_sys_set_nonblock (
|
||||
int fd,
|
||||
int v
|
||||
);
|
||||
|
||||
HCL_EXPORT int hcl_sys_set_cloexec (
|
||||
int fd,
|
||||
int v
|
||||
);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user