fgetwc may clobber errno when the result is not WEOF
[libc-test.git] / src / api / sys_times.c
blob7a75d0389dbc542543c082192a17955ae6310a54
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()
7 T(clock_t)
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)
15 {clock_t(*p)(struct tms*) = times;}