Mercurial > hg > xemacs-beta
diff src/sysdep.c @ 30:ec9a17fef872 r19-15b98
Import from CVS: tag r19-15b98
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:52:29 +0200 |
parents | 4103f0995bd7 |
children | 6a22abad6937 |
line wrap: on
line diff
--- a/src/sysdep.c Mon Aug 13 08:51:58 2007 +0200 +++ b/src/sysdep.c Mon Aug 13 08:52:29 2007 +0200 @@ -734,6 +734,20 @@ #endif } +/* Suspend a process if possible; give terminal to its superior. */ +void +sys_suspend_process (process) + int process; +{ + /* I don't doubt that it is possible to suspend processes on + * VMS machines or thost that use USG_JOBCTRL, + * but I don't know how to do it, so... + */ +#if defined (SIGTSTP) && !defined (MSDOS) + kill(process, SIGTSTP); +#endif +} + /* Set the logical window size associated with descriptor FD to HEIGHT and WIDTH. This is used mainly with ptys. */