Merge branch 'fix-cmsg' into 'main'

connection: properly use sendmsg(2) and recvmsg(2)

See merge request wayland/wayland!445
This commit is contained in:
Demi Marie Obenour 2026-01-30 02:11:11 -05:00
commit 83b741e68e
2 changed files with 34 additions and 16 deletions

View file

@ -32,6 +32,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>
#define WL_HIDE_DEPRECATED 1
@ -144,13 +145,13 @@ wl_connection_copy(struct wl_connection *connection, void *data, size_t size);
void
wl_connection_consume(struct wl_connection *connection, size_t size);
int
ssize_t
wl_connection_flush(struct wl_connection *connection);
uint32_t
wl_connection_pending_input(struct wl_connection *connection);
int
ssize_t
wl_connection_read(struct wl_connection *connection);
int