2 * UNIX-style Time Functions, by pmoreau@cena.dgac.fr <Patrick MOREAU>
3 * (picked up from XVMSUTILS unix emulation routines for VMS by
4 * Trevor Taylor, Patrick Mahans and Martin P.J. Zinser)
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation. No representations are made about the suitability of this
11 * software for any purpose. It is provided "as is" without express or
20 * gettimeofday(2) - Returns the current time
28 tv->tv_sec = tmp_time.time;
29 tv->tv_usec = tmp_time.millitm * 1000;