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.