Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpid(2) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec(2)

fork(2)

intro(2)

setpgid(2)

sigaction(2)

signal(2)

setpgrp(2)



  getpid(2)                           CLIX                           getpid(2)



  NAME

    getpid, getpgrp, getppid - Gets process ID, process group ID, and parent
    process ID

  LIBRARY

    Standard C Library (libc.a)

  SYNOPSIS

    #include <sys/types.h>

    pid_t getpid(
      void );

    pid_t getpgrp(
      void );

    pid_t getppid(
      void );

  DESCRIPTION

    The getpid() function returns the process ID of the calling process.

    The getpgrp() function returns the process group ID of the calling
    process.

    The getppid() function returns the parent process ID of the calling
    process.

  RETURN VALUES

    The getpid() and getppid() functions return the requested user ID.

    The getpgrp() function returns the requested process group ID.

  RELATED INFORMATION

    Functions:  exec(2), fork(2), intro(2), setpgid(2), sigaction(2),
    signal(2), setpgrp(2)












  2/94 - Intergraph Corporation                                              1




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