1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>OS_GetOwnerRtcOffset</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_GetOwnerRtcOffset <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></H1> 12 13<H2>Syntax</H2> 14<DL> 15 <DD> 16 <PRE><CODE>#include <nitro/os.h></CODE></PRE> 17 <PRE><CODE>s64 OS_GetOwnerRtcOffset( void ); 18 </CODE></PRE> 19</DL> 20 21<H2>Arguments</H2> 22<P>None.</P> 23 24<H2>Return Values</H2> 25<P> 26Returns an <em><strong><code>s64</code></strong></em> type offset value. 27</P> 28 29<H2>Description</H2> 30<P> 31This 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. 32</P> 33 34<H2>Note</H2> 35<P><font color="red">Date/time changes that are made by debugging functions such as <A href="../../rtc/RTC_SetTime.html">RTC_SetTime()</A> will not update this RTC offset value. </font></CODE></P> 36 37<H2>See Also</H2> 38<P><A href="OS_GetOwnerInfo.html"><code>OS_GetOwnerInfo</code></A>, <A href="OS_GetMacAddress.html"><code>OS_GetMacAddress</code></A></P> 39 40<H2>Revision History</H2> 41<P> 422004/09/03 Initial version. 43</P> 44<hr><p>CONFIDENTIAL</p></body> 45</HTML>