lib/sys: Fixed inline documentation
This commit is contained in:
parent
4a9259586d
commit
944f753eba
1 changed files with 4 additions and 0 deletions
|
@ -309,6 +309,8 @@ end
|
||||||
process = {}
|
process = {}
|
||||||
|
|
||||||
--- Get the current process id.
|
--- Get the current process id.
|
||||||
|
-- @class function
|
||||||
|
-- @name process.info
|
||||||
-- @return Number containing the current pid
|
-- @return Number containing the current pid
|
||||||
process.info = posix.getpid
|
process.info = posix.getpid
|
||||||
|
|
||||||
|
@ -373,6 +375,8 @@ function process.setuser(pid, uid)
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Send a signal to a process identified by given pid.
|
--- Send a signal to a process identified by given pid.
|
||||||
|
-- @class function
|
||||||
|
-- @name process.signal
|
||||||
-- @param pid Number containing the process id
|
-- @param pid Number containing the process id
|
||||||
-- @param sig Signal to send (default: 15 [SIGTERM])
|
-- @param sig Signal to send (default: 15 [SIGTERM])
|
||||||
-- @return Boolean indicating successful operation
|
-- @return Boolean indicating successful operation
|
||||||
|
|
Loading…
Reference in a new issue