; * src/process.c (Fprocess_running_child_p): Doc fix.

This commit is contained in:
Eli Zaretskii 2022-12-25 11:23:07 +02:00
parent f6c5b3d635
commit d62b634d8f

View file

@ -6795,10 +6795,13 @@ emacs_get_tty_pgrp (struct Lisp_Process *p)
DEFUN ("process-running-child-p", Fprocess_running_child_p, DEFUN ("process-running-child-p", Fprocess_running_child_p,
Sprocess_running_child_p, 0, 1, 0, Sprocess_running_child_p, 0, 1, 0,
doc: /* Return non-nil if PROCESS has given the terminal to a doc: /* Return non-nil if PROCESS has given control of its terminal to a child.
child. If the operating system does not make it possible to find out, If the operating system does not make it possible to find out, return t.
return t. If we can find out, return the numeric ID of the foreground If it's possible to find out, return the numeric ID of the foreground
process group. */) process group if PROCESS did give control of its terminal to a
child process, and return nil if it didn't.
PROCESS must be a real subprocess, not a connection. */)
(Lisp_Object process) (Lisp_Object process)
{ {
/* Initialize in case ioctl doesn't exist or gives an error, /* Initialize in case ioctl doesn't exist or gives an error,