summaryrefslogtreecommitdiff
path: root/luxio.c
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2017-05-09 22:16:08 +0100
committerRichard Ipsum <richardipsum@fastmail.co.uk>2017-05-10 22:54:40 +0100
commit311d2d56745b27c12771392f5f07b289ca3509b0 (patch)
tree695bad29f2513fa48ef93a1f8252cd11459c97a7 /luxio.c
parent5920646a96967e39a827332c7e5935d6b2ed7767 (diff)
downloadluxio-311d2d56745b27c12771392f5f07b289ca3509b0.tar.bz2
docs: System identification and Time
Add more details to System identification and Time sections.
Diffstat (limited to 'luxio.c')
-rw-r--r--luxio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/luxio.c b/luxio.c
index 7699051..27de64e 100644
--- a/luxio.c
+++ b/luxio.c
@@ -720,7 +720,7 @@ Returned by @{uname}. Some fields are OS-specific.
@field nodename System's name
@field release Operating systems's release version
@field machine Hardware identifier
-@field domainname NIS or YP domain name
+@field domainname NIS or YP domain name _Note: GNU extension_
@table uname-table
*/
@@ -768,6 +768,11 @@ luxio_uname(lua_State *L) /* 4.4.1 */
*/
/*** Get time in seconds.
+
+On success, returns the time as the number of seconds since the Epoch,
+1970-01-01 00:00:00 +0000 (UTC). On failure, returns -1 with errno
+set appropriately.
+
@treturn number seconds since epoch.
@treturn number errno
@function time