|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v3 15/16] os-posix: remove useless ioctlsocket() define |
Date: | Tue, 21 Feb 2023 15:16:39 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/21/23 13:48, marcandre.lureau@redhat.com wrote:
From: Marc-André Lureau <marcandre.lureau@redhat.com> The API is specific to win32. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
The idea was to use for socket ioctls that are common to POSIX and Windows, but it turns out there's no such usecase.
Paolo
--- include/sysemu/os-posix.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h index 58de7c994d..378213fc86 100644 --- a/include/sysemu/os-posix.h +++ b/include/sysemu/os-posix.h @@ -52,7 +52,6 @@ void os_setup_post(void); int os_mlock(void);#define closesocket(s) close(s)-#define ioctlsocket(s, r, v) ioctl(s, r, v)int os_set_daemonize(bool d);bool is_daemonized(void);
[Prev in Thread] | Current Thread | [Next in Thread] |