Created
September 27, 2012 15:39
-
-
Save kazupon/3794698 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local fs = lev.fs | |
local co = _coroutine | |
t1 = co.create(function (...) | |
p(t1) | |
local err1, fd1 = fs.open('AUTHORS', 'r', '0666') | |
fs.close(fd1) | |
lev.exit() | |
end) | |
co.resume(t1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment