projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
parser: consolidate tokens
[m6w6/ext-psi]
/
psi.d
/
uname.psi
diff --git
a/psi.d/uname.psi
b/psi.d/uname.psi
index b7aed9652e7e26dbad3f4201465017165166e236..ae0dd600fe87e0cc73046c3e42a2beaaa5977fdd 100644
(file)
--- a/
psi.d/uname.psi
+++ b/
psi.d/uname.psi
@@
-1,6
+1,6
@@
function psi\uname(array &$u = NULL) : int {
let name = calloc(1, psi\SIZEOF_STRUCT_UTSNAME);
- return to_int(uname);
+ return
uname(name) as
to_int(uname);
set $u = to_array(*name,
to_string(sysname),
to_string(nodename),