diff options
author | Sunguk Lee | 2018-03-10 12:12:31 +0900 |
---|---|---|
committer | GitHub | 2018-03-10 12:12:31 +0900 |
commit | 109e02d3f9a170b4286e2afc67a1e15d0d533c93 (patch) | |
tree | 2adba15c95aa2aca5ff420aec261a918a8bffc7b /include | |
parent | Added sceSblSsUpdateMgrGetBootMode (diff) | |
parent | Add ksceSysconSetAlarmCallback to syscon.h (diff) | |
download | vds-libraries-109e02d3f9a170b4286e2afc67a1e15d0d533c93.tar.gz |
Merge pull request #301 from CelesteBlue-dev/patch-4
Add ksceSysconSetAlarmCallback
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel/syscon.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/kernel/syscon.h b/include/kernel/syscon.h index 225f798..67a64bb 100644 --- a/include/kernel/syscon.h +++ b/include/kernel/syscon.h @@ -200,6 +200,16 @@ int sceSysconLoadConfigstorageScript(unsigned short, const void *buff, unsigned int sceSysconVerifyConfigstorageScript(unsigned short, const void *buff, unsigned int size); /** + * Set the alarm callback, that will be ran when the alarm timer is passed. + * + * @param callback The callback function. + * @param argp The second argument that will be passed to the callback. + * + * @return 0. + */ +int sceSysconSetAlarmCallback(SceSysconCallback callback, void *argp); + +/** * Set the low battery callback, that will be ran when the battery is low. * * @param callback The callback function. |