LuaPosix: Difference between revisions

From Alpine Linux
Line 2: Line 2:
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:
Install lua posix. To get this list do:
  bobo = require "posix"
  bar = require "posix"
  for a in pairs(bobo) do print(a) end
  for a in pairs(bar) do print(a) end


==access==
==access==

Revision as of 16:13, 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:

bar = require "posix"
for a in pairs(bar) 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