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
fgetwc may clobber errno when the result is not WEOF
[libc-test.git]
/
src
/
api
/
sys_times.c
blob
7a75d0389dbc542543c082192a17955ae6310a54
1
#include <sys/times.h>
2
#define T(t) (t*)0;
3
#define F(t,n) {t *y = &x.n;}
4
#define C(n) switch(n){case n:;}
5
static void
f
()
6
{
7
T
(
clock_t
)
8
{
9
struct
tms x
;
10
F
(
clock_t
,
tms_utime
)
11
F
(
clock_t
,
tms_stime
)
12
F
(
clock_t
,
tms_cutime
)
13
F
(
clock_t
,
tms_cstime
)
14
}
15
{
clock_t
(*
p
)(
struct
tms
*) =
times
;}
16
}