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