From 6f1c569e67e9d153b558df90e9c525d08875a6bf Mon Sep 17 00:00:00 2001 From: Lisa Milne Date: Wed, 6 Dec 2023 21:44:24 +1000 Subject: [PATCH] documentation and version bump --- clite/core.js | 2 +- readme-libs.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/clite/core.js b/clite/core.js index 2aaa93b..b5f0f78 100644 --- a/clite/core.js +++ b/clite/core.js @@ -1,6 +1,6 @@ var clite = { state:{ - version:'0.3-6', + version:'0.3-7', isinit:false, runlevel:1 }, diff --git a/readme-libs.txt b/readme-libs.txt index b15db95..6bada42 100644 --- a/readme-libs.txt +++ b/readme-libs.txt @@ -97,6 +97,22 @@ stdlib (libstd.so): io.include('stdlib') getgid() Returns teh numeric group id of the current user. + getpwuid(uid) + Returns a pw object, containing the passwd file data of the user + who's numeric user id = uid + + getpwnam(name) + Returns a pw object, containing the passwd file data of the user + who's user name = name + + getgrgid(gid) + Returns a gr object, containing the group file data of the group + who's numeric group id = gid + + getgrnam(name) + Returns a gr object, containing the group file data of the group + who's group name = name + clite (libclite.so): io.include('clite') Provides provides special functions used in CLIte.