LuaPosix: Difference between revisions

From Alpine Linux
Jump to navigation Jump to search
Line 1: Line 1:
=Lua Posix=
=Lua Posix=
This is a list of the Lua Posix functions. Included is helpful snipets of code.
This is a list of the Lua Posix functions. Included is helpful snipets of code.
Install lua posix. To get this list do:
bobo = require "posix"
for a in pairs(bobo) do print(a) end


==access==
==access==

Revision as of 16:10, 9 November 2007

Lua Posix

This is a list of the Lua Posix functions. Included is helpful snipets of code. Install lua posix. To get this list do:

bobo = require "posix"
for a in pairs(bobo) do print(a) end

access

chdir

chmod

chown

ctermid

dir

errno

exec

files

fork

getcwd

getenv

getgroup

getlogin

getpassword

getprocessid

kill

link

mkdir

mkfifo

patchconf

putenv

readlink

rmdir

setgid

setuid

sleep

stat

symlink

sysconf

times

ttyname

umask

uname

utime

wait


If you are using this under linux also get

setenv

unsetenv