902d9eafbf
This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead. |
||
---|---|---|
.. | ||
args.c | ||
conv_tab.c | ||
conv.c | ||
dd.1 | ||
dd.c | ||
dd.h | ||
extern.h | ||
gen.c | ||
Makefile | ||
misc.c | ||
position.c | ||
ref.ascii | ||
ref.ebcdic | ||
ref.ibm | ||
ref.lcase | ||
ref.oldascii | ||
ref.oldebcdic | ||
ref.oldibm | ||
ref.pareven | ||
ref.parnone | ||
ref.parodd | ||
ref.parset | ||
ref.swab | ||
ref.ucase |