setclock man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

setclock(3)							   setclock(3)

NAME
       setclock - Set value of system-wide clock

SYNOPSIS
       #include <sys/timers.h>

       int setclock(
	       int clktyp,
	       struct timespec *val );

LIBRARY
       Standard C Library (libc)

PARAMETERS
       Specifies  a  system-wide  clock whose symbolic name must be TIMEOFDAY.
       Points to the location where the value of the  time  to	set  into  the
       clock specified by the clktyp parameter is stored.

DESCRIPTION
       The  setclock()	function  sets a time value into the system-wide clock
       whose symbolic name is specified by the clktyp parameter, which must be
       TIMEOFDAY, defined in the sys/timers.h header file.

       The  source of the current value of time set into the system-wide time-
       of-day clock by this function is stored in space	 reserved  by  a  type
       timespec structure pointed to by the val parameter.  This time informa‐
       tion is the amount of time since the epoch. The epoch is referenced  to
       00:00:00	 GMT (Greenwich Mean Time) 1 Jan 1970. The timespec structure,
       which is also defined in the sys/timers.h header file has the following
       members:

								   setclock(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net