STREAMS-UX Programmer's Guide (February 2007)

STREAMS Utilities Supported by HP-UX
Appendix B
215
NAME
streams_time () – Get time.
SYNOPSIS
#include <sys/stream.h> #include <sys/strenv.h>
time_t streams_time();
PARAMETERS
None
DESCRIPTION
streams_time() returns the value of time in seconds since the Epoch.
RETURN VALUES
streams_time() returns the value of time in seconds since the Epoch.
CONSTRAINTS
streams_time() can be called from thread or interrupt context. Spinlocks must not be held across this
function call.