SDL_ClearClipboardData(3)
π SDL_ClearClipboardData π
okay bestie, welcome to the SDL_ClearClipboardData(3) page from the SDL3 FUNCTIONS girlies β¨ this one lives in <SDL3/SDL_clipboard.h> and it's literally the "nvm, forget I said anything" button for your clipboard π
β¨ NAME β¨
SDL_ClearClipboardData β bestie, it clears the clipboard data. that's it. that's the whole job. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_clipboard.h>
bool SDL_ClearClipboardData(void);
no arguments, no drama, just vibes π¦
β¨ RETURN VALUE β¨
it hands you back true when it ate and false when it flopped π and if it flopped you gotta call SDL_GetError() to find out why β that's your group chat with the actual tea π
β¨ THREAD SAFETY β¨
β οΈ main thread only, no cap. this function should only be called on the main thread. do not be out here calling it from a side thread, that's not the move π
β¨ AVAILABILITY β¨
this one's been around since SDL 3.2.0 π so if you're on anything older, she's not there yet, sorry bestie πΈ
β¨ SEE ALSO β¨
SDL_SetClipboardData(3)β the other half of the duo, the one that actually puts stuff on the clipboard π
and that's the whole page, you're so welcome π«Ά go clear that clipboard, main character energy only β¨
mwah π β this was SDL_ClearClipboardData(3) from the Simple Directmedia Layer crew, SDL 3.4.18 edition π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms