Function sdl2_sys::SDL_SetClipboardText
source ยท pub unsafe extern "C" fn SDL_SetClipboardText(
text: *const c_char,
) -> c_int
Expand description
Put UTF-8 text into the clipboard.
\param text the text to store in the clipboard \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_GetClipboardText \sa SDL_HasClipboardText