summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavee2018-10-28 16:17:16 +0000
committerSunguk Lee2018-10-29 01:33:01 +0900
commit3c9f7d2ec5618c6fead581a20d6f991eb1840e2a (patch)
tree6f134c72fddfefc49568c5c1bfe7880887a8989b /include
parentadd ksceKernelProcessResume (diff)
downloadvds-libraries-3c9f7d2ec5618c6fead581a20d6f991eb1840e2a.tar.gz
add ksceAppMgrKillProcess
Diffstat (limited to 'include')
-rw-r--r--include/kernel/appmgr.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/kernel/appmgr.h b/include/kernel/appmgr.h
new file mode 100644
index 0000000..4336ca5
--- /dev/null
+++ b/include/kernel/appmgr.h
@@ -0,0 +1,21 @@
+#ifndef _PSP2_KERNEL_APPMGR_H_
+#define _PSP2_KERNEL_APPMGR_H_
+
+#include <psp2kern/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @brief Kill a process.
+ * @param[in] pid The process to kill.
+ * @return Zero on success, else < 0.
+ */
+int sceAppMgrKillProcess(SceUID pid);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _PSP2_KERNEL_APPMGR_H_ */