summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-29 17:38:23 +0000
committerSteven Barth <steven@midlink.org>2008-08-29 17:38:23 +0000
commit944f753ebac425a5e1a75dd992359b36967d64c3 (patch)
tree860412d4e9ba2ddf7c22be16d3edc7444c6a1751 /libs
parent4a9259586dfac657054ad74b8edd7e16928b7a08 (diff)
lib/sys: Fixed inline documentation
Diffstat (limited to 'libs')
-rw-r--r--libs/sys/luasrc/sys.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua
index d9f236e1b..2f893650c 100644
--- 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