aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPo Lu2022-12-31 18:05:12 +0800
committerPo Lu2022-12-31 18:05:12 +0800
commitfd074f3133a348dd1d3b7ee569f0fc046223efb9 (patch)
treeac82e56578f398be747175f0f42ca2b3cb0ca0b8 /src/process.c
parentcfbc8a5dbcd362b69b37b4e6832ae4a31834364c (diff)
parentf59d012af7e607448fdb435fcb4becb6a6ebe665 (diff)
downloademacs-fd074f3133a348dd1d3b7ee569f0fc046223efb9.tar.gz
emacs-fd074f3133a348dd1d3b7ee569f0fc046223efb9.zip
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c
index de1b07a81cc..a4be68f7418 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6810,10 +6810,13 @@ emacs_get_tty_pgrp (struct Lisp_Process *p)
6810 6810
6811DEFUN ("process-running-child-p", Fprocess_running_child_p, 6811DEFUN ("process-running-child-p", Fprocess_running_child_p,
6812 Sprocess_running_child_p, 0, 1, 0, 6812 Sprocess_running_child_p, 0, 1, 0,
6813 doc: /* Return non-nil if PROCESS has given the terminal to a 6813 doc: /* Return non-nil if PROCESS has given control of its terminal to a child.
6814child. If the operating system does not make it possible to find out, 6814If the operating system does not make it possible to find out, return t.
6815return t. If we can find out, return the numeric ID of the foreground 6815If it's possible to find out, return the numeric ID of the foreground
6816process group. */) 6816process group if PROCESS did give control of its terminal to a
6817child process, and return nil if it didn't.
6818
6819PROCESS must be a real subprocess, not a connection. */)
6817 (Lisp_Object process) 6820 (Lisp_Object process)
6818{ 6821{
6819 /* Initialize in case ioctl doesn't exist or gives an error, 6822 /* Initialize in case ioctl doesn't exist or gives an error,