int set_cloexec_fd(int fd)
{
int flags;
flags = fcntl(fd, F_GETFD);
if (flags == -1)
return -
linux中文件描述符号设置---FD_CLOEXEC---作用
最新推荐文章于 2024-12-31 20:00:00 发布
int set_cloexec_fd(int fd)
{
int flags;
flags = fcntl(fd, F_GETFD);
if (flags == -1)
return -