mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-09 08:21:30 -04:00
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:
commit
83b741e68e
2 changed files with 34 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue