xcb\_selinux\_set\_selection\_create\_context(3) XCB Requests xcb\_selinux\_set\_selection\_create\_context(3)

# [NAME](#NAME)

xcb\_selinux\_set\_selection\_create\_context -

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;xcb/xselinux.h&gt;**

## [Request function](#Request_function)

xcb\_void\_cookie\_t **xcb\_selinux\_set\_selection\_create\_context**(xcb\_connection\_t \**conn*, uint32\_t *context\_len*, const char \**context*);

# [REQUEST ARGUMENTS](#REQUEST_ARGUMENTS)

[*conn*](#conn)

The XCB connection to X11.

[*context\_len*](#context_len)

TODO: NOT YET DOCUMENTED.

[*context*](#context)

TODO: NOT YET DOCUMENTED.

# [DESCRIPTION](#DESCRIPTION)

# [RETURN VALUE](#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\_selinux\_set\_selection\_create\_context\_checked*. See [**xcb-requests(3)**](/man/os/libxcb/xcb-requests.3) for details.

# [ERRORS](#ERRORS)

This request does never generate any errors.

# [SEE ALSO](#SEE_ALSO)

# [AUTHOR](#AUTHOR)

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

libxcb 1.17.0 X Version 11

---

Document: xcb_selinux_set_selection_create_context(3) from libxcb 1.17.0-r19 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
