---
name: "xcb_sync_await"
section: "3"
platform: "linux"
package: "libxcb"
version: "1.17.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xcb_sync_await"
---

# xcb\_sync\_await(3)

## NAME

xcb\_sync\_await -

## SYNOPSIS

**#include \<xcb/sync.h\>**

### Request function

xcb\_void\_cookie\_t **xcb\_sync\_await**(xcb\_connection\_t \**conn*, uint32\_t *wait\_list\_len*, const xcb\_sync\_waitcondition\_t \**wait\_list*);\

## REQUEST ARGUMENTS

- *conn*

  The XCB connection to X11.

- *wait\_list\_len*

  TODO: NOT YET DOCUMENTED.

- *wait\_list*

  TODO: NOT YET DOCUMENTED.

## DESCRIPTION

## RETURN VALUE

Returns an *xcb\_void\_cookie\_t*. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with *xcb\_request\_check* instead, use *xcb\_sync\_await\_checked*. See **[xcb-requests(3)](/xcb-requests/3.md)** for details.

## ERRORS

This request does never generate any errors.

## SEE ALSO

## AUTHOR

Generated from sync.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
