| 350 | #endif |
| 351 | |
| 352 | int |
| 353 | dosuspend() |
| 354 | { |
| 355 | #ifdef MINT |
| 356 | extern int kill(); |
| 357 | if (__mint == 0) { |
| 358 | #endif |
| 359 | pline("Sorry, it seems we have no SIGTSTP here. Try ! or S."); |
| 360 | #ifdef MINT |
| 361 | } else if (signal(SIGTSTP, SIG_IGN) == SIG_DFL) { |
| 362 | suspend_nhwindows((char *) 0); |
| 363 | (void) signal(SIGTSTP, SIG_DFL); |
| 364 | (void) kill(0, SIGTSTP); |
| 365 | get_scr_size(); |
| 366 | resume_nhwindows(); |
| 367 | } else { |
| 368 | pline("I don't think your shell has job control."); |
| 369 | } |
| 370 | #endif /* MINT */ |
| 371 | return (0); |
| 372 | } |
| 373 | #endif /* SUSPEND */ |
| 374 | |
| 375 | #endif /* TOS */ |
nothing calls this directly
no test coverage detected