CLOCK(3X)
NAME
clock − return the MPE clock value
SYNOPSIS
unsigned int clock()
DESCRIPTION
This routine returns the clock value in the MPE format.
RETURN VALUE
The function returns an unsigned int in the format:
| Bits | 0 | 7 | 8 | 15 |
| _ | _ | _ | _ | |
| Hour of Day | Minute of Hour | |||
| _ | _ | _ | _ | |
| Bits | 16 | 23 | 24 | 31 |
| _ | _ | _ | _ | |
| Seconds | Tenths of Seconds | |||
| _ | _ | _ | _ | |
WARNINGS
This routine is provided for compatibility with MPE, another HP operating system. See portnls(5) for more information on the use of this routine. Use the Native Language Support routines for C programmers described on hpnls(5) for HP-UX NLS support.
AUTHOR
clock was developed by HP.
SEE ALSO
nlconvclock(3X), nlfmtclock(3X), portnls(5).
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989