brlapi_writeArguments_t(3)
π brlapi_writeArguments_t π
okay so bestie, welcome to the brlapi_writeArguments_t page from the Library Functions Manual π
this is a struct, she's a whole vibe, and she's literally the little bundle of arguments you hand over to brlapi_write(). sit down, hydrate, let's go π«Ά
β¨ NAME β¨
brlapi_writeArguments_t β the struct of dreams, the argument holder, the girl who carries everything you need to pass to brlapi_write()
πΈ SYNOPSIS πΈ
#include <brlapi.h>
π Data Fields π
here's the whole squad, no one left behind:
int displayNumberunsigned int regionBeginint regionSizeconst char * textint textSizeconst unsigned char * andMaskconst unsigned char * orMaskint cursorconst char * charset
π¦ Detailed Description π¦
so basically, this is the structure containing arguments to be given to brlapi_write(). that's it, that's her job, and she does it flawlessly, no cap π―
π Field Documentation π
π const unsigned char* brlapi_writeArguments_t::andMask
the and attributes, bestie. and they get applied first. order matters, she's got a whole process β¨
π const char* brlapi_writeArguments_t::charset
text charset, okay, listen carefully because this one has lore:
NULLmeans it's assumed to be 8bits, and the same as the server's. simple. iconic.""means the current locale's charset π- if no locale was selected, it defaults to what
NULLmeans. yeah. we go back toNULL's whole thing. it's giving circular but it's correct π
π int brlapi_writeArguments_t::cursor
where the cursor goes, pick your fighter:
BRLAPI_CURSOR_LEAVE== don't touch her, leave her alone πBRLAPI_CURSOR_OFF== turn her off β¨1= 1st char of display, and so on, and so forth, you get the pattern π
π§ int brlapi_writeArguments_t::displayNumber
display number, bestie. and BRLAPI_DISPLAY_DEFAULT == unspecified, i.e. "idk, you pick" π«Ά
π₯ const unsigned char* brlapi_writeArguments_t::orMask
the or attributes, and these get applied after ANDing. andMask first, orMask after. sequence. choreography. slay π
πΈ unsigned int brlapi_writeArguments_t::regionBegin
the region of the display you wanna update, and the numbering is very specific so stay with me:
- 1st character of display is
1β¨ - 1st character of the second line of display is the width of a line plus 1
- etc., you get it
and regions are always a linear wrap over the different lines. linear wrap. she does not do fancy 2D nonsense, she wraps, periodt π
π int brlapi_writeArguments_t::regionSize
the number of characters held in andMask and orMask π«Ά and here's the plot twist: if it's negative, its absolute value is taken into account, and the output gets padded or truncated to fill the rest of the display. so negative is not an error, it's a choice π
β const char* brlapi_writeArguments_t::text
the text to display, bestie. and it must hold as many characters as the region fields express. like, that's the rule. match the count, no notes π
π int brlapi_writeArguments_t::textSize
size of text in bytes (bytes!! not vibes!!). and if it's -1, then strlen() is used for computing it. easy. automatic. lowkey convenient π
π Author π
Generated automatically by Doxygen for BrlAPI from the source code. she was born in a doc generator and she's thriving ππ
okay bestie that's the whole page, you ate it, you understood it, main character energy fr fr πΈβ¨π
and for the cute sign-off: this whole thing comes from BrlAPI, Version 0.8, and it's the brlapi_writeArguments_t(3) page π go write some braille, queen ππ¦
π¦ where this page comes from
- fedora 43: brlapi-devel 0.8.7-4.fc43 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 43: brlapi-devel 0.8.7-4.fc43 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 44: brlapi-devel 0.8.7-8.fc44 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later
- fedora 44: brlapi-devel 0.8.7-8.fc44 Β· LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later
- opensuse-leap 16.0: brlapi-devel 6.8-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: brlapi-devel 6.8-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: brlapi-devel 6.8-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: brlapi-devel 6.8-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu resolute: libbrlapi-dev 6.7-1ubuntu6
- ubuntu stonking: libbrlapi-dev 6.9.1+repack-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms