forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
21
Kha/Tools/linux_arm64/std/eval/luv/Passwd.hx
Normal file
21
Kha/Tools/linux_arm64/std/eval/luv/Passwd.hx
Normal file
@ -0,0 +1,21 @@
|
||||
package eval.luv;
|
||||
|
||||
typedef PasswdData = {
|
||||
var username:String;
|
||||
var uid:Int;
|
||||
var gid:Int;
|
||||
var shell:Null<String>;
|
||||
var homedir:NativeString;
|
||||
}
|
||||
|
||||
/**
|
||||
Current user information.
|
||||
|
||||
@see https://aantron.github.io/luv/luv/Luv/Passwd
|
||||
**/
|
||||
extern class Passwd {
|
||||
/**
|
||||
Gets passwd entry for the current user.
|
||||
**/
|
||||
static function getPasswd():Result<PasswdData>;
|
||||
}
|
Reference in New Issue
Block a user