repo.or.cz
/
libc-test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix regression/pthread_once-deadlock
[libc-test.git]
/
src
/
api
/
sys_utsname.c
blob
6e1aee99086c963e9df865dc7e857ba6b55710fb
1
#include <sys/utsname.h>
2
#define F(t,n) {t *y = &x.n;}
3
static void
f
()
4
{
5
{
6
struct
utsname x
;
7
F
(
char
,
sysname
[
1
])
8
F
(
char
,
nodename
[
1
])
9
F
(
char
,
release
[
1
])
10
F
(
char
,
version
[
1
])
11
F
(
char
,
machine
[
1
])
12
}
13
{
int
(*
p
)(
struct
utsname
*) =
uname
;}
14
}