summary refs log tree commit diff stats
path: root/util/oslib-win32.c
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2025-10-01 08:33:55 -0700
committerPeter Xu <peterx@redhat.com>2025-10-03 09:48:02 -0400
commitfe72a8073ed63cf0fc138d1f4450da2e6e5b5271 (patch)
treee13852a76ae62f745067f8b00501bd31a1fb6f59 /util/oslib-win32.c
parenta9f9eee58bc5cfacc1aa5cb7a138b5a8c12a493c (diff)
downloadfocaccia-qemu-fe72a8073ed63cf0fc138d1f4450da2e6e5b5271.tar.gz
focaccia-qemu-fe72a8073ed63cf0fc138d1f4450da2e6e5b5271.zip
oslib: qemu_clear_cloexec
Define qemu_clear_cloexec, analogous to qemu_set_cloexec.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/1759332851-370353-4-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'util/oslib-win32.c')
-rw-r--r--util/oslib-win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/oslib-win32.c b/util/oslib-win32.c
index 84bc65a765..839b8a4170 100644
--- a/util/oslib-win32.c
+++ b/util/oslib-win32.c
@@ -219,6 +219,10 @@ void qemu_set_cloexec(int fd)
 {
 }
 
+void qemu_clear_cloexec(int fd)
+{
+}
+
 int qemu_get_thread_id(void)
 {
     return GetCurrentThreadId();