mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: use C.GetUserNameW for os.loginname() instead + improvements os.uname() (#9872)
This commit is contained in:
@ -217,6 +217,8 @@ fn C.ExpandEnvironmentStringsW(lpSrc &u16, lpDst &u16, nSize u32) u32
|
||||
|
||||
fn C.GetComputerNameW(&u16, &u32) bool
|
||||
|
||||
fn C.GetUserNameW(&u16, &u32) bool
|
||||
|
||||
[trusted]
|
||||
fn C.SendMessageTimeout() u32
|
||||
|
||||
|
Reference in New Issue
Block a user