vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceRtcForDriver_stub



Functions

int ksceRtcSetCurrentTick (SceRtcTick *tick)
 
int ksceRtcGetCurrentTick (SceRtcTick *tick)
 
int ksceRtcGetCurrentClock (SceDateTime *time, int time_zone)
 Get current real time clock time. More...
 
int ksceRtcGetCurrentClockLocalTime (SceDateTime *time)
 Get current real time clock time with system time zone. More...
 
int ksceRtcSetCurrentNetworkTick (SceRtcTick *tick)
 
int ksceRtcGetCurrentNetworkTick (SceRtcTick *tick)
 
int ksceRtcSetCurrentSecureTick (SceRtcTick *tick)
 
int ksceRtcGetCurrentSecureTick (SceRtcTick *tick)
 
int ksceRtcSetCurrentDebugNetworkTick (SceRtcTick *tick)
 
int ksceRtcGetCurrentDebugNetworkTick (SceRtcTick *tick)
 
int ksceRtcConvertTickToDateTime (SceDateTime *dst, SceRtcTick *src)
 Convert tick to date time. More...
 
int ksceRtcConvertDateTimeToUnixTime (const SceDateTime *src, SceUInt64 *dst)
 Convert date time to unix time. More...
 

Function Documentation

◆ ksceRtcSetCurrentTick()

int ksceRtcSetCurrentTick ( SceRtcTick tick)

◆ ksceRtcGetCurrentTick()

int ksceRtcGetCurrentTick ( SceRtcTick tick)

◆ ksceRtcGetCurrentClock()

int ksceRtcGetCurrentClock ( SceDateTime time,
int  time_zone 
)

Get current real time clock time.

Parameters
[out]time- see SceDateTime.
[in]time_zone- The time zone the return value will be.
Returns
0 on success, < 0 on error.

◆ ksceRtcGetCurrentClockLocalTime()

int ksceRtcGetCurrentClockLocalTime ( SceDateTime time)

Get current real time clock time with system time zone.

Parameters
[out]time- see SceDateTime.
Returns
0 on success, < 0 on error.

◆ ksceRtcSetCurrentNetworkTick()

int ksceRtcSetCurrentNetworkTick ( SceRtcTick tick)

◆ ksceRtcGetCurrentNetworkTick()

int ksceRtcGetCurrentNetworkTick ( SceRtcTick tick)

◆ ksceRtcSetCurrentSecureTick()

int ksceRtcSetCurrentSecureTick ( SceRtcTick tick)

◆ ksceRtcGetCurrentSecureTick()

int ksceRtcGetCurrentSecureTick ( SceRtcTick tick)

◆ ksceRtcSetCurrentDebugNetworkTick()

int ksceRtcSetCurrentDebugNetworkTick ( SceRtcTick tick)

◆ ksceRtcGetCurrentDebugNetworkTick()

int ksceRtcGetCurrentDebugNetworkTick ( SceRtcTick tick)

◆ ksceRtcConvertTickToDateTime()

int ksceRtcConvertTickToDateTime ( SceDateTime dst,
SceRtcTick src 
)

Convert tick to date time.

Parameters
[out]dst- The output SceDateTime struct pointer.
[in]src- The input tick pointer.
Returns
0 on success, < 0 on error.

◆ ksceRtcConvertDateTimeToUnixTime()

int ksceRtcConvertDateTimeToUnixTime ( const SceDateTime src,
SceUInt64 dst 
)

Convert date time to unix time.

Parameters
[in]src- The input SceDateTime struct pointer.
[out]dst- The output unix time buffer pointer.
Returns
0 on success, < 0 on error.