repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20000403-1.c
blob
27345b56fef9b27f3dbe3c7f32ce608b7bc5f80e
1
struct
utsname
{
2
char
sysname
[
32
];
3
char
version
[
32
];
4
};
5
int
6
uname
(
name
)
7
struct
utsname
*
name
;
8
{
9
int
mib
[
2
],
rval
;
10
long
len
;
11
char
*
p
;
12
int
oerrno
;
13
if
(
sysctl
(
mib
,
2
, &
name
->
sysname
, &
len
,
0
,
0
) == -
1
)
14
;
15
for
(
p
=
name
->
version
;
len
--; ++
p
) {
16
*
p
=
' '
;
17
}
18
}