clock(3I)
CLOCK - Returns the current time
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME CLOCK - Returns the current time SYNOPSIS EXTERNAL CLOCK CALL CLOCK (time) INTRINSIC CLOCK CLOCK () IMPLEMENTATION UNICOS, UNICOS/mk, and IRIX systems STANDARDS CF90 and MIPSpro 7 Fortran 90 compiler extension to Fortran 90 DESCRIPTION CLOCK obtains the current time, in ASCII hh:mm:ss format, from the real-time clock. As an intrinsic function, CLOCK accepts no arguments. The name of this intrinsic cannot be passed as an argument. The following argument is valid when CLOCK is called as an external subprogram: time A variable containing the time in hh:mm:ss format. The data type of time depends on your platform, as follows: * On UNICOS or UNICOS/mk systems, it must be of type integer, CHARACTER*8, or real. If time is of type integer or real, it must be of KIND=8. * On IRIX systems, it must be declared as type CHARACTER*8. RETURN VALUES When called as an intrinsic function, the data type of the return value depends on your platform. On UNICOS and UNICOS/mk systems, the return value is of type Boolean. On IRIX systems, it is of type CHARACTER*8. NOTES For Fortran 90 programs, the CLOCK intrinsic function is outmoded. Refer to the Fortran Language Reference Manual, Volume 3, publication SR-3905, for information on outmoded features and their preferred standard alternatives. On IRIX systems, you can use either the intrinsic function form or the external subprogram form, but not both, in a single processing unit (PU). SEE ALSO Intrinsic Procedures Reference Manual, publication SR-2138, for the printed version of this man page.