Linux Manuals session 3

Section 3: library functions

  • |

    xcb_grab_pointer_reply (3) Linux Manual Page

    xcb_grab_pointer – Grab the pointer Synopsis #include <xcb/xproto.h> Request function xcb_grab_pointer_cookie_t xcb_grab_pointer(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, xcb_timestamp_t time); Reply datastructure typedef struct xcb_grab_pointer_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; } xcb_grab_pointer_reply_t; Reply function xcb_grab_pointer_reply_t *xcb_grab_pointer_reply(xcb_connection_t *conn, xcb_grab_pointer_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The…

  • |

    xcb_grab_pointer (3) Linux Manual Page

    xcb_grab_pointer – Grab the pointer Synopsis #include <xcb/xproto.h> Request function xcb_grab_pointer_cookie_t xcb_grab_pointer(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, xcb_timestamp_t time); Reply datastructure typedef struct xcb_grab_pointer_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; } xcb_grab_pointer_reply_t; Reply function xcb_grab_pointer_reply_t *xcb_grab_pointer_reply(xcb_connection_t *conn, xcb_grab_pointer_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The…

  • |

    xcb_grab_keyboard_unchecked (3) Linux Manual Page

    xcb_grab_keyboard – Grab the keyboard Synopsis #include <xcb/xproto.h> Request function xcb_grab_keyboard_cookie_t xcb_grab_keyboard(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode); Reply datastructure typedef struct xcb_grab_keyboard_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; } xcb_grab_keyboard_reply_t; Reply function xcb_grab_keyboard_reply_t *xcb_grab_keyboard_reply(xcb_connection_t *conn, xcb_grab_keyboard_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. owner_events If…

  • |

    xcb_grab_keyboard_reply (3) Linux Manual Page

    xcb_grab_keyboard – Grab the keyboard Synopsis #include <xcb/xproto.h> Request function xcb_grab_keyboard_cookie_t xcb_grab_keyboard(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode); Reply datastructure typedef struct xcb_grab_keyboard_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; } xcb_grab_keyboard_reply_t; Reply function xcb_grab_keyboard_reply_t *xcb_grab_keyboard_reply(xcb_connection_t *conn, xcb_grab_keyboard_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. owner_events If…

  • |

    xcb_grab_keyboard (3) Linux Manual Page

    xcb_grab_keyboard – Grab the keyboard Synopsis #include <xcb/xproto.h> Request function xcb_grab_keyboard_cookie_t xcb_grab_keyboard(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode); Reply datastructure typedef struct xcb_grab_keyboard_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; } xcb_grab_keyboard_reply_t; Reply function xcb_grab_keyboard_reply_t *xcb_grab_keyboard_reply(xcb_connection_t *conn, xcb_grab_keyboard_cookie_t cookie, xcb_generic_error_t **e); Request Arguments conn The XCB connection to X11. owner_events If…

  • |

    xcb_grab_key_checked (3) Linux Manual Page

    xcb_grab_key – Grab keyboard key(s) Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_grab_key(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, uint16_t modifiers, xcb_keycode_t key, uint8_t pointer_mode, uint8_t keyboard_mode); Request Arguments conn The XCB connection to X11. owner_events If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. grab_window Specifies…

  • |

    xcb_grab_key (3) Linux Manual Page

    xcb_grab_key – Grab keyboard key(s) Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_grab_key(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, uint16_t modifiers, xcb_keycode_t key, uint8_t pointer_mode, uint8_t keyboard_mode); Request Arguments conn The XCB connection to X11. owner_events If 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window. grab_window Specifies…

  • |

    xcb_grab_button_checked (3) Linux Manual Page

    xcb_grab_button – Grab pointer button(s) Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_grab_button(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, uint8_t button, uint16_t modifiers); Request Arguments conn The XCB connection to X11. owner_events If 1, the grab_window will still get the pointer events. If 0, events are not…

  • |

    xcb_grab_button (3) Linux Manual Page

    xcb_grab_button – Grab pointer button(s) Synopsis #include <xcb/xproto.h> Request function xcb_void_cookie_t xcb_grab_button(xcb_connection_t *conn, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, uint8_t button, uint16_t modifiers); Request Arguments conn The XCB connection to X11. owner_events If 1, the grab_window will still get the pointer events. If 0, events are not…

  • |

    xcb_glx_wait_x_checked (3) Linux Manual Page

    xcb_glx_wait_x – Synopsis #include <xcb/glx.h> Request function xcb_void_cookie_t xcb_glx_wait_x(xcb_connection_t *conn, xcb_glx_context_tag_t context_tag); Request Arguments conn The XCB connection to X11. context_tag 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_glx_wait_x_checked. See…

  • |

    xcb_glx_wait_x (3) Linux Manual Page

    xcb_glx_wait_x – Synopsis #include <xcb/glx.h> Request function xcb_void_cookie_t xcb_glx_wait_x(xcb_connection_t *conn, xcb_glx_context_tag_t context_tag); Request Arguments conn The XCB connection to X11. context_tag 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_glx_wait_x_checked. See…

  • |

    xcb_glx_wait_gl_checked (3) Linux Manual Page

    xcb_glx_wait_gl – Synopsis #include <xcb/glx.h> Request function xcb_void_cookie_t xcb_glx_wait_gl(xcb_connection_t *conn, xcb_glx_context_tag_t context_tag); Request Arguments conn The XCB connection to X11. context_tag 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_glx_wait_gl_checked. See…

  • |

    xcb_glx_wait_gl (3) Linux Manual Page

    xcb_glx_wait_gl – Synopsis #include <xcb/glx.h> Request function xcb_void_cookie_t xcb_glx_wait_gl(xcb_connection_t *conn, xcb_glx_context_tag_t context_tag); Request Arguments conn The XCB connection to X11. context_tag 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_glx_wait_gl_checked. See…

  • |

    xcb_glx_vendor_private_with_reply_unchecked (3) Linux Manual Page

    xcb_glx_vendor_private_with_reply – Synopsis #include <xcb/glx.h> Request function xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Reply datastructure typedef struct xcb_glx_vendor_private_with_reply_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint32_t retval; uint8_t data1[24]; } xcb_glx_vendor_private_with_reply_reply_t; Reply function xcb_glx_vendor_private_with_reply_reply_t *xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn, xcb_glx_vendor_private_with_reply_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_glx_vendor_private_with_reply_data_2(const xcb_glx_vendor_private_with_reply_request_t *reply); int xcb_glx_vendor_private_with_reply_data_2_length(const xcb_glx_vendor_private_with_reply_reply_t *reply);…

  • |

    xcb_glx_vendor_private_with_reply_reply (3) Linux Manual Page

    xcb_glx_vendor_private_with_reply – Synopsis #include <xcb/glx.h> Request function xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Reply datastructure typedef struct xcb_glx_vendor_private_with_reply_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint32_t retval; uint8_t data1[24]; } xcb_glx_vendor_private_with_reply_reply_t; Reply function xcb_glx_vendor_private_with_reply_reply_t *xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn, xcb_glx_vendor_private_with_reply_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_glx_vendor_private_with_reply_data_2(const xcb_glx_vendor_private_with_reply_request_t *reply); int xcb_glx_vendor_private_with_reply_data_2_length(const xcb_glx_vendor_private_with_reply_reply_t *reply);…

  • |

    xcb_glx_vendor_private_with_reply_data_2_length (3) Linux Manual Page

    xcb_glx_vendor_private_with_reply – Synopsis #include <xcb/glx.h> Request function xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Reply datastructure typedef struct xcb_glx_vendor_private_with_reply_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint32_t retval; uint8_t data1[24]; } xcb_glx_vendor_private_with_reply_reply_t; Reply function xcb_glx_vendor_private_with_reply_reply_t *xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn, xcb_glx_vendor_private_with_reply_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_glx_vendor_private_with_reply_data_2(const xcb_glx_vendor_private_with_reply_request_t *reply); int xcb_glx_vendor_private_with_reply_data_2_length(const xcb_glx_vendor_private_with_reply_reply_t *reply);…

  • |

    xcb_glx_vendor_private_with_reply_data_2_end (3) Linux Manual Page

    xcb_glx_vendor_private_with_reply – Synopsis #include <xcb/glx.h> Request function xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Reply datastructure typedef struct xcb_glx_vendor_private_with_reply_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint32_t retval; uint8_t data1[24]; } xcb_glx_vendor_private_with_reply_reply_t; Reply function xcb_glx_vendor_private_with_reply_reply_t *xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn, xcb_glx_vendor_private_with_reply_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_glx_vendor_private_with_reply_data_2(const xcb_glx_vendor_private_with_reply_request_t *reply); int xcb_glx_vendor_private_with_reply_data_2_length(const xcb_glx_vendor_private_with_reply_reply_t *reply);…

  • |

    xcb_glx_vendor_private_with_reply_data_2 (3) Linux Manual Page

    xcb_glx_vendor_private_with_reply – Synopsis #include <xcb/glx.h> Request function xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Reply datastructure typedef struct xcb_glx_vendor_private_with_reply_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint32_t retval; uint8_t data1[24]; } xcb_glx_vendor_private_with_reply_reply_t; Reply function xcb_glx_vendor_private_with_reply_reply_t *xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn, xcb_glx_vendor_private_with_reply_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_glx_vendor_private_with_reply_data_2(const xcb_glx_vendor_private_with_reply_request_t *reply); int xcb_glx_vendor_private_with_reply_data_2_length(const xcb_glx_vendor_private_with_reply_reply_t *reply);…

  • |

    xcb_glx_vendor_private_with_reply (3) Linux Manual Page

    xcb_glx_vendor_private_with_reply – Synopsis #include <xcb/glx.h> Request function xcb_glx_vendor_private_with_reply_cookie_t xcb_glx_vendor_private_with_reply(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Reply datastructure typedef struct xcb_glx_vendor_private_with_reply_reply_t { uint8_t response_type; uint8_t pad0; uint16_t sequence; uint32_t length; uint32_t retval; uint8_t data1[24]; } xcb_glx_vendor_private_with_reply_reply_t; Reply function xcb_glx_vendor_private_with_reply_reply_t *xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn, xcb_glx_vendor_private_with_reply_cookie_t cookie, xcb_generic_error_t **e); Reply accessors uint8_t *xcb_glx_vendor_private_with_reply_data_2(const xcb_glx_vendor_private_with_reply_request_t *reply); int xcb_glx_vendor_private_with_reply_data_2_length(const xcb_glx_vendor_private_with_reply_reply_t *reply);…

  • |

    xcb_glx_vendor_private_checked (3) Linux Manual Page

    xcb_glx_vendor_private – Synopsis #include <xcb/glx.h> Request function xcb_void_cookie_t xcb_glx_vendor_private(xcb_connection_t *conn, uint32_t vendor_code, xcb_glx_context_tag_t context_tag, uint32_t data_len, const uint8_t *data); Request Arguments conn The XCB connection to X11. vendor_code TODO: NOT YET DOCUMENTED. context_tag TODO: NOT YET DOCUMENTED. data_len TODO: NOT YET DOCUMENTED. data TODO: NOT YET DOCUMENTED. Description Return Value Returns an xcb_void_cookie_t. Errors (if…