close_rawresource(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

✨ 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