tidy up some common code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-05 14:46:56 +09:00
parent 31cd79beb4
commit fa90b72c85
3 changed files with 80 additions and 65 deletions

View File

@ -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