summaryrefslogtreecommitdiff
path: root/include/kernel/appmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel/appmgr.h')
-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_ */