XVaCreateNestedList(3)
okay bestie, welcome to XVaCreateNestedList(3), straight out of XLIB FUNCTIONS π
β¨
β¨ NAME β¨
XVaCreateNestedList β allocate a nested variable argument list π
β¨ SYNTAX β¨
typedef void * XVaNestedList;
XVaNestedList XVaCreateNestedList(int dummy, ...);
β¨ ARGUMENTS β¨
dummyβ specifies an unused argument (required by ANSI C). it's literally just there because ANSI C said so, no cap π...β specifies the variable length argument list. the actual little stack of args π«Ά
β¨ DESCRIPTION β¨
okay so the XVaCreateNestedList function allocates memory and copies its arguments into a single list pointer, which may be used as a value for arguments requiring a list value. Any entries are copied as specified. β¨
bestie warning π¨ data passed by reference is not copied; the caller must ensure data remains valid for the lifetime of the nested list. like, keep that data alive, fr fr π
The list should be freed using XFree when it is no longer needed. cleanup arc, periodt π§π
β¨ SEE ALSO β¨
Xlib - C Language X Interfaceππ
mwah π this iconic little page is from X Version 11, libX11 1.8.14 β and the page doesn't print a separate date, so no invented date from me, bestie π¦πΈ
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms