diff --git a/interfaces/kits/c/ability/ability_runtime/child_process/native_child_process.h b/interfaces/kits/c/ability/ability_runtime/child_process/native_child_process.h index 12ce4cf7c8..1542ebbae8 100644 --- a/interfaces/kits/c/ability/ability_runtime/child_process/native_child_process.h +++ b/interfaces/kits/c/ability/ability_runtime/child_process/native_child_process.h @@ -494,6 +494,7 @@ Ability_NativeChildProcess_ErrCode OH_Ability_UnregisterNativeChildProcessExitCa * * @param pid Process ID of the target child process to terminate. * @return Returns {@link NCP_NO_ERROR} if the operation succeeds. + * Returns {@link NCP_ERR_SERVICE_ERROR} if system service error occurs. * Returns {@link NCP_ERR_INVALID_PID} if: * - The specified PID does not exist * - The PID is not a child process of the current process