CAL_$WRITE_TIMEZONE Domain/OS CAL_$WRITE_TIMEZONE
NAME
cal_$write_timezone - set the local time zone
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/cal.h>
void cal_$write_timezone(
cal_$timezone_rec_t &time_zone,
status_$t *status)
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/cal.ins.pas';
procedure cal_$write_timezone(
in time_zone: cal_$timezone_rec_t ;
out status: status_$t);
SYNOPSIS (FORTRAN)
%include '/sys/ins/base.ins.ftn'
%include '/sys/ins/cal.ins.ftn'
integer*2 time_zone(6), utc_delta, drift(3), drifth
integer*4 driftl, status
character tz_name*4
equivalence (utc_delta, time_zone(1))
equivalence (tz_name, time_zone(2))
equivalence (drift, time_zone(4))
equivalence (driftl, drift(2)), (drifth, drift(1))
call cal_$write_timezone(time_zone, status)
DESCRIPTION
Cal_$write_timezone writes the supplied time zone information onto the
logical disk volume the operating system was started from.
Cal_$write_timezone fails when called from a diskless node.
time_zone
The local time zone information to be stored on the boot volume.
status
The completion status.
SEE ALSO
cal_$decode_local_time, cal_$get_local_time, cal_$apply_local_offset,
cal_$get_info.