GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
resource(3) Arcan Lua API resource(3)

resource - Check if the requested resource path exists.

longname. typedescr
resource( string:name )
resource( string:name, int:domain )

This function tries to resolve the path description indicated by name and optionally filtered by domain. The accepted domain values follow the same rules as other resource related functions, see glob_resource . By default, all user- accessible domains are scanned and the resolved result (or nil) is returned as longname . typedescr will be set to "directory", "file" or "not found".

function resource0()

print( resource("images/icons/arcanicon.png") );
print( resource("test.png", APPL_RESOURCE) ); end
July 2025 resource

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.