TICKIT_REN...R_GET_SIZE(3)
π tickit_renderbuffer_get_size β the vibe check for your render buffer π
okay bestie, so this is a page from the Library Functions Manual β it's tickit_renderbuffer_get_size(3) β and it's literally the shortest lil glow-up you'll ever read. no cap. let's get into it β¨
πΈ NAME πΈ
tickit_renderbuffer_get_size β return the size of a render buffer π
like... it tells you how big your render buffer's content area is. that's it. that's the whole job. she's simple, she's efficient, she ate π
π¦ SYNOPSIS π¦
#include <tickit.h>
void tickit_renderbuffer_get_size(const TickitRenderBuffer *rb, int *lines, int *cols);
Link with -ltickit.
yes bestie you literally have to link with -ltickit or none of this works, don't skip it π
β¨ DESCRIPTION β¨
so tickit_renderbuffer_get_size() sets the integers pointed to by lines and cols β but only if they're not NULL β to the size of the render buffer's content area π
that's the whole thing. lines gets the line count, cols gets the column count. pass NULL for whichever one you don't care about and she'll just... not touch it. respectful queen behavior fr fr π
π RETURN VALUE π
tickit_renderbuffer_get_size() returns no value.
not zero, not a status code β literally nothing. it's a void function. the info comes out through the pointers you handed her. that's the deal π«Ά
π SEE ALSO π
and that's the page, bestie!! π shoutout to the Library Functions Manual for hosting, and to TICKIT_REN...R_GET_SIZE(3) for being the main character of her own lil manpage. go forth and check your buffer sizes, iykyk πβ¨π¦πΈπ
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms