repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
optimize two-way strstr and memmem bad character shift
[musl.git]
/
include
/
sys
/
utsname.h
blob
2c80fb5a2dfbd5c327db4d8e7eb2c2d5776277d0
1
#ifndef _SYS_UTSNAME_H
2
#define _SYS_UTSNAME_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include <features.h>
9
10
struct
utsname
{
11
char
sysname
[
65
];
12
char
nodename
[
65
];
13
char
release
[
65
];
14
char
version
[
65
];
15
char
machine
[
65
];
16
#ifdef _GNU_SOURCE
17
char
domainname
[
65
];
18
#else
19
char
__domainname
[
65
];
20
#endif
21
};
22
23
int
uname
(
struct
utsname
*);
24
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#endif