Exports for Kernel.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
◆ ksceRtcSetCurrentTick()
◆ ksceRtcGetCurrentTick()
◆ 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
-
- 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()
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()
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.