diff options
| author | Eli Zaretskii | 2022-12-25 11:23:07 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-25 11:23:07 +0200 |
| commit | d62b634d8fcbdc553351b0e5c7cd61363e918ca4 (patch) | |
| tree | d558178071b2f79965b4790ad900b496bc76c865 /src/process.c | |
| parent | f6c5b3d635ee7fdaf3ca1501aa0024f729070ad3 (diff) | |
| download | emacs-d62b634d8fcbdc553351b0e5c7cd61363e918ca4.tar.gz emacs-d62b634d8fcbdc553351b0e5c7cd61363e918ca4.zip | |
; * src/process.c (Fprocess_running_child_p): Doc fix.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 5144c5d6c92..cab8a1d5cf2 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -6795,10 +6795,13 @@ emacs_get_tty_pgrp (struct Lisp_Process *p) | |||
| 6795 | 6795 | ||
| 6796 | DEFUN ("process-running-child-p", Fprocess_running_child_p, | 6796 | DEFUN ("process-running-child-p", Fprocess_running_child_p, |
| 6797 | Sprocess_running_child_p, 0, 1, 0, | 6797 | Sprocess_running_child_p, 0, 1, 0, |
| 6798 | doc: /* Return non-nil if PROCESS has given the terminal to a | 6798 | doc: /* Return non-nil if PROCESS has given control of its terminal to a child. |
| 6799 | child. If the operating system does not make it possible to find out, | 6799 | If the operating system does not make it possible to find out, return t. |
| 6800 | return t. If we can find out, return the numeric ID of the foreground | 6800 | If it's possible to find out, return the numeric ID of the foreground |
| 6801 | process group. */) | 6801 | process group if PROCESS did give control of its terminal to a |
| 6802 | child process, and return nil if it didn't. | ||
| 6803 | |||
| 6804 | PROCESS must be a real subprocess, not a connection. */) | ||
| 6802 | (Lisp_Object process) | 6805 | (Lisp_Object process) |
| 6803 | { | 6806 | { |
| 6804 | /* Initialize in case ioctl doesn't exist or gives an error, | 6807 | /* Initialize in case ioctl doesn't exist or gives an error, |