comparison src/sysdep.c @ 108:360340f9fd5f r20-1b6

Import from CVS: tag r20-1b6
author cvs
date Mon, 13 Aug 2007 09:18:39 +0200
parents 4be1180a9e89
children 9f59509498e1
comparison
equal deleted inserted replaced
107:523141596bda 108:360340f9fd5f
735 /* On a system where suspending is not implemented, 735 /* On a system where suspending is not implemented,
736 instead fork a subshell and let it talk directly to the terminal 736 instead fork a subshell and let it talk directly to the terminal
737 while we wait. */ 737 while we wait. */
738 sys_subshell (); 738 sys_subshell ();
739 739
740 #endif
741 }
742
743 /* Suspend a process if possible; give terminal to its superior. */
744 void
745 sys_suspend_process (process)
746 int process;
747 {
748 /* I don't doubt that it is possible to suspend processes on
749 * VMS machines or thost that use USG_JOBCTRL,
750 * but I don't know how to do it, so...
751 */
752 #if defined (SIGTSTP) && !defined (MSDOS)
753 kill(process, SIGTSTP);
740 #endif 754 #endif
741 } 755 }
742 756
743 /* Set the logical window size associated with descriptor FD 757 /* Set the logical window size associated with descriptor FD
744 to HEIGHT and WIDTH. This is used mainly with ptys. */ 758 to HEIGHT and WIDTH. This is used mainly with ptys. */