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: accept trailing comma in enums; __restrict for arrays
[m6w6/ext-psi]
/
psi.d
/
uname.psi
diff --git
a/psi.d/uname.psi
b/psi.d/uname.psi
index ae0dd600fe87e0cc73046c3e42a2beaaa5977fdd..e5144da51026da4715322410c71a76c1c4ee4ec1 100644
(file)
--- a/
psi.d/uname.psi
+++ b/
psi.d/uname.psi
@@
-1,3
+1,5
@@
+#include <sys/utsname.h>
+
function psi\uname(array &$u = NULL) : int {
let name = calloc(1, psi\SIZEOF_STRUCT_UTSNAME);
return uname(name) as to_int(uname);