home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat2 / getpid.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. GETPID(2)                  UNIX Programmer's Manual                  GETPID(2)
  3.  
  4. NNAAMMEE
  5.      ggeettppiidd, ggeettppppiidd - get parent or calling process identification
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<uunniissttdd..hh>>
  9.  
  10.      _p_i_d___t
  11.      ggeettppiidd(_v_o_i_d)
  12.  
  13.      _p_i_d___t
  14.      ggeettppppiidd(_v_o_i_d)
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      GGeettppiidd() returns the process ID of the calling process.  The ID is guar­
  18.      anteed to be unique and is useful for constructing temporary file names.
  19.  
  20.      GGeettppppiidd() returns the process ID of the parent of the calling process.
  21.  
  22. EERRRROORRSS
  23.      The ggeettppiidd() and ggeettppppiidd() functions are always successful, and no return
  24.      value is reserved to indicate an error.
  25.  
  26. SSEEEE AALLSSOO
  27.      gethostid(2)
  28.  
  29. SSTTAANNDDAARRDDSS
  30.      GGeettppiidd() and ggeettppppiidd() conform to IEEE Std 1003.1­1988 (``POSIX'').
  31.  
  32. 4th Berkeley Distribution       March 10, 1991                               1
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.