Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigcld(2) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

signal(2)

sigset(2)

fork(2)

exec(2)



  sigcld(2)                           CLIX                           sigcld(2)



  NAME

    sigcld - Modifies SIGCLD on stop signal option

  LIBRARY

    Standard C Library (libc.a)

  SYNOPSIS

    int sigcld(
      int flag );

  PARAMETERS

    flag   Specifies the value that will be inherited by all children spawned
           by the process.

  DESCRIPTION

    The sigcld() function allows the caller to specify whether a SIGCLD signal
    is sent to its parent process if the child is stopped with a stop signal
    (SIGSTOP, SIGTSTP, SIGTTIN or SIGTTOU).

    If flag is nonzero, the current process sends a SIGCLD signal to its
    parent process when stopped with a stop signal.  Otherwise, a SIGCLD
    signal is not sent to its parent process when stopped with a stop signal.

    The value of flag will be inherited by all children spawned by this
    process (see fork()) or new processes (see exec()).

  RETURN VALUES

    The sigcld() function returns the previous value of flag.  The sigcld()
    function cannot fail.

  RELATED INFORMATION

    Functions:  signal(2), sigset(2), fork(2), exec(2)















  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026