OS_GetOwnerRtcOffset

C Specification

#include <nitro/os.h>
s64 OS_GetOwnerRtcOffset( void );
  

Arguments

None.

Return Values

Returns an s64 type offset value.

Description

This function acquires the RTC offset value that is stored in a Nintendo DS. The RTC offset value is an accumulation of the changes to RTC date/time made by the end user—how far it was set forward or back. It is stored in units of seconds. By confirming the offset value each time it starts, an application can know changes that the end user made to the RTC.

Caution

Date/time changes that are made by debugging functions such as RTC_SetTime will not change the RTC offset value.

See Also

OS_GetOwnerInfo, OS_GetMacAddress

Revision History

09/03/2004 Initial version

CONFIDENTIAL