projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
fix old libffi
[m6w6/ext-psi]
/
psi.d
/
uname.psi
1
extern int uname(struct utsname *u);
2
function psi\uname(array &$u = NULL) : int {
3
let u = calloc(1, struct utsname);
4
return to_int(uname);
5
set $u = to_array(*u,
6
to_string(sysname),
7
to_string(nodename),
8
to_string(release),
9
to_string(version),
10
to_string(machine),
11
to_string(domainname));
12
}