close_rawresource(3)
β¨ close_rawresource(3) β Arcan Lua API, bestie β¨
Okay so this is the close_rawresource(3) page from the Arcan Lua API, and itβs lowkey tiny. Itβs literally about closing the context-global output file. No cap. π
π NAME π
close_rawresourceβ Close the context-global output file.
π«Ά SYNOPSIS π«Ά
The synopsis is exactly this, no edits:
nil
close_rawresource()
π DESCRIPTION π
Raw access to string- or raw-byte- output files is not encouraged in the scriptable Arcan interface, okay? But some support functions are added for certain edge-cases, because sometimes you gotta do what you gotta do. π
Calling this function closes a resource file opened through open_rawresource. Thatβs the whole vibe.
πΈ EXAMPLE πΈ
function close_rawresource0()
open_rawresource("testres.txt");
close_rawresource();
end
π MISUSE π
This is the MISUSE example, exactly as written β the vibe check says nope:
function close_rawresource0()
close_rawresource();
end
π SEE ALSO: π
resource Β· October 2026 Β· close_rawresource(3) β mwah, go slay πβ¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms