projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a92595
)
lib/sys: Fixed inline documentation
author
Steven Barth
<steven@midlink.org>
Fri, 29 Aug 2008 17:38:23 +0000
(17:38 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 29 Aug 2008 17:38:23 +0000
(17:38 +0000)
libs/sys/luasrc/sys.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys.lua
b/libs/sys/luasrc/sys.lua
index d9f236e1b4d36fe51fc99dc932835358903a6444..2f893650c0078fb3279c36a76062494b9b8563fb 100644
(file)
--- a/
libs/sys/luasrc/sys.lua
+++ b/
libs/sys/luasrc/sys.lua
@@
-309,6
+309,8
@@
end
process = {}
--- Get the current process id.
+-- @class function
+-- @name process.info
-- @return Number containing the current pid
process.info = posix.getpid
@@
-373,6
+375,8
@@
function process.setuser(pid, uid)
end
--- Send a signal to a process identified by given pid.
+-- @class function
+-- @name process.signal
-- @param pid Number containing the process id
-- @param sig Signal to send (default: 15 [SIGTERM])
-- @return Boolean indicating successful operation