Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

signal(2)

intro(2)

exec(2)

fork(2)

getpid(2)

kill(2)



  setpgrp(2)                          CLIX                          setpgrp(2)



  NAME

    setpgrp - Sets process group ID

  LIBRARY

    Standard C Library (libc.a)

  SYNOPSIS

    int setpgrp(
      void );

  DESCRIPTION

    The setpgrp() function sets the calling process's group and session ID to
    its process ID and returns the new process group ID.  Unless the process
    is already a session process group leader, the controlling terminal is
    disassociated.  Once a process calls setpgrp(), it irrevocably becomes a
    session process group leader.

  EXAMPLES

    To become a session process group leader:

    setpgrp();


  RETURN VALUES

    The setpgrp() function returns the value of the new process group ID.

  RELATED INFORMATION

    Functions:  signal(2), intro(2), exec(2), fork(2), getpid(2), kill(2)



















  2/94 - Intergraph Corporation                                              1




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