OSDN Git Service

oslib-posix: Introduce qemu_socketpair()
authorGuoyi Tu <tugy@chinatelecom.cn>
Tue, 23 Aug 2022 07:50:39 +0000 (15:50 +0800)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 29 Sep 2022 10:38:05 +0000 (14:38 +0400)
commit3c63b4e94a16db730a8185278479b592f7de8b7f
treea08567d342967dd463abc5ab8a997a8013096ca2
parentfc0c128531ed55f058bfbad4f1348ebd9a0187f2
oslib-posix: Introduce qemu_socketpair()

qemu_socketpair() will create a pair of connected sockets
with FD_CLOEXEC set

Signed-off-by: Guoyi Tu <tugy@chinatelecom.cn>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <17fa1eff729eeabd9a001f4639abccb127ceec81.1661240709.git.tugy@chinatelecom.cn>
include/qemu/sockets.h
util/oslib-posix.c