# 2.11BSD#431 - /usr/src/lib/libc/compat-4.1/pause.c

##### Functions

    pause             X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #if defined(LIBC_SCCS) && !defined(lint)
       8: static char sccsid[] = "@(#)pause.c	5.2.1 (2.11BSD) 1997/9/9";
       9: #endif LIBC_SCCS and not lint
      10:
      11: #include <signal.h>
      12:
      13: /*
      14:  * Backwards compatible pause.
      15:  */
      16: pause()
      17: {
      18:     sigset_t set;
      19:
      20:     sigemptyset(&set);
      21:     sigsuspend(&set);
      22: }

#### Defined functions

pause defined in line 16; used 16 times

- in /usr/src/bin/sh/xec.c line 244
- in /usr/src/bin/tcsh/tc.sig.c line 233-237(2)
- in /usr/src/new/kermit5.188/ckucon.c line 679, 950, 1024, 1037
- in /usr/src/old/cu/cu.c line 86, 264
- in /usr/src/usr.lib/libF77/s_paus.c line 43
- in /usr/src/usr.sbin/sendmail.MX/src/clock.c line 229
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 633
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 419
- in /usr/src/usr.sbin/sendmail/src/clock.c line 229
- in /usr/src/usr.sbin/sendmail/src/main.c line 637
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 415

#### Defined variables

sccsid defined in line 8; never used

Last modified: 1997-09-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: ?E00 |