gettimeofday (ULTRIX) gettimeofday (ULTRIX)
NAME
gettimeofday, settimeofday, ftime - Gets and sets date and time
LIBRARY
Standard C Library (libc.a)
Berkeley Compatibility Library (libbsd.a)
BSD COMPATIBILITY
The Digital UNIX system provides the libbsd.a library to allow you to
use library functions that are compatible with ULTRIX BSD library func‐
tions. To use the BSD functions, your program needs to be compiled with
-D_BSD and the -lbsd options.
The libbsd.a library will allow your application to continue to use the
gettimeofday(), settimeofday() and ftime() functions, which are not
otherwise provided on Digital UNIX systems.
These functions have been made obsolete by the getclock() and the set‐
clock() function.
RELATED INFORMATION
Digital UNIX Functions:
getclock(3), setclock(3), gettimeofday(2), settimeofday(2),
ftime(2),
adjtime(2), ctime(3), gettimer(3), strftime(3) delim off
gettimeofday (ULTRIX)