I didn't check the lib code, so I imagined that their might be some glibc
munging of the syscall output. man gettimeofday sez, inter alia:
EINVAL Timezone (or something else) is invalid.
EFAULT One of tv or tz pointed outside your accessible
address space.
As you pointed out, EINVAL doesn't seem too likely, and I can't see a pointer
problem. So it looks like something else.
Brad
-- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/