Репозитории ALT
5.1: | 5.1.1-alt1 |
4.1: | 2006-alt1 |
4.0: | 2006-alt1 |
3.0: | 2003.11.07-alt2 |
Группа :: Разработка/Прочее
Пакет: lua5-posix
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
Date: Fri, 7 Apr 2006 23:32:42 -0300
From: Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>
Subject: lposix portability
To: lua@bazar2.conectiva.com.br
Message-ID: <20060407233242.A25117@lua.tecgraf.puc-rio.br>
A new version of my POSIX library is almost ready. I still have to write
a reasonable test and perhaps some documentation, and so I'm not ready yet
to release a tarball. However, since there are a few flavors of POSIX
around, I thought I'd ask anyone interested to try to compile this code
on their system and report any problems.
The code has been simplified and extended. The API has changed a bit.
A summary is below. I'd like to hear your impressions on what is missing
or useless. (Some candidates for removal are pathconf and sysconf.)
The code seems to compile ok under Lua 5.0 (but pipe does not work yet
in Lua 5.0).
Thanks for your feedback.
--lhf
posix library:
access(path,[mode]) kill(pid,[sig])
basename(path) link(old,new,[symbolic])
chdir(path) mkdir(path)
chmod(path,mode) mkfifo(path)
chown(path,uid,gid) pathconf([path,options])
ctermid() pipe()
dirname(path) readlink(path)
dir([path]) setenv(name,value,[over])
dup(old,[new]) setpid(option,...)
errno([n]) sleep(seconds)
exec(path,[args]) stat(path,[options])
files([path]) sysconf([options])
fork() times([options])
getcwd() ttyname([fd])
getenv([name]) umask([mode])
getgroup(name|id) uname([string])
getlogin() utime(path,[mtime,atime])
getpasswd(name|id,[sel]) version
getpid([options]) wait([pid])
hostid()