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
expire_image(3) Arcan Lua API expire_image(3)

expire_image - Schedule the image for deletion

nil
expire_image( vid, timetolive )

For some images, we want to specify not only that it should be deleted but when (often in conjunction with how the transformation chain is currently running) without tracking time in other means. This function allows you to specify how many ticks the image has left to live.

1
for n : 0 <= n < 1, n will be forced to one tick. the timer to the new value.

function expire_image0()
      a = fill_surface(32, 32, 255, 0, 0);
      expire_image(a, 100);
end

function expire_image0()
      expire_image(WORLDID, 10);
end

function expire_image1()
      a = fill_surface(32, 32, 0, 255, 0);
      expire_image(a, -1);
end

function expire_image2()
      a = fill_surface(32, 32, 0, 0, 255);
      expire_image(a, "deadline");
end

delete_image(3)

June 2022 image

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.