http://www.aros.orgAROS-ExecAROS-Exec ArchivesPower2People

Ínicio

English

Česky

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska


Novidades

Arquivo

Introdução

Estado
Imagens
Portos
Licença

Descarregar


Documentação

Utilizadores
Instalação
Utilizando
Comandos de 'Shell'
Applications
F. A. Q.
Desenvolvidores
Contribuintes
Roadmap
À procura de erros...
Trabalhando com Subversão
Compilando
Manual de Desenvolvimento de Aplicações
Manual de Desenvolvimento de Aplicações Zune
Manual de Desenvolvimento do sistema
Manual de Correcção de erros
Referência
Especificações
Guia de Estilos I. U.
Documentando
Portando
Tranduzindo
Sumários
Ligações

Contactos

Listas de eCorreio
Canais de IRC

Créditos

A saber...


Fotografias

Desenvolvidores
Massa de desenvolvidores

Patrocínios

Ligando

Ligações

Get AROS Research Operating System at SourceForge.net. Fast, secure and Free Open Source software downloads

battclock

Index


ReadBattClock() ResetBattClock() WriteBattClock()  

ReadBattClock()

Synopsis

ULONG ReadBattClock();

Function

Return the value stored in the battery back up clock. This value
is the number of seconds that have elapsed since midnight on the
1st of January 1978 (00:00:00 1.1.1978).

If the value of the battery clock is invalid, then the clock will
be reset.

Result

The number of seconds since 1.1.1978 00:00:00

ResetBattClock()

Synopsis

void ResetBattClock();

Function

Reset the system battery-backed-up clock. This will reset the clock
back to 0 seconds (or midnight, 1st Jan 1978).

Inputs

None.

Result

The clock will be reset.

Notes

This function may do nothing when the battery backed up clock either
doesn't exist, or may not be writable by the operating system.

WriteBattClock()

Synopsis

void WriteBattClock(
         ULONG time );

Function

Set the system's battery backed up clock to the time specified. The
value should be the number of seconds since 00:00:00 on 1.1.1978.

Inputs

time - The number of seconds elapsed since 00:00:00 1.1.1978

Result

The clock will be set.

Notes

This may not do anything on some systems where the battery backed
up clock either doesn't exist, or may not be writable.

Direitos de Cópia © 1995-2009, A Equipa de Desenvolvimento AROS. Todos Os Direitos Reservados.
Amiga®, AmigaOS®, Workbench e Intuition são marcas registadas de Amiga Inc. Todas as outras marcas comerciais pertencem aos seus respectivos proprietários.