dvbinfo: MSG_CMSG_CLOEXEC if a flag for recvmsg and not recv.
MSG_CMSG_CLOEXEC is a flag for recvmsg and not recv. Thus rewrite {udp,tcp}_open to create sockets with SOCK_CLOEXEC. If SOCK_CLOEXEC is not available, FD_CLOEXEC is set instead.
Showing
Please register or sign in to comment