home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man2 / getpid.2 < prev    next >
Encoding:
Text File  |  1975-06-26  |  364 b   |  28 lines

  1. .th GETPID II 2/8/75
  2. .sh NAME
  3. getpid  \*-  get process identification
  4. .sh SYNOPSIS
  5. (getpid = 20.; not in assembler)
  6. .br
  7. .ft B
  8. sys getpid
  9. .ft R
  10. .br
  11. (pid in r0)
  12. .ft B
  13. .s3
  14. getpid( )
  15. .ft R
  16. .sh DESCRIPTION
  17. .it Getpid
  18. returns
  19. the process ID of
  20. the current process.
  21. Most often it is used to generate
  22. uniquely-named
  23. temporary files.
  24. .sh "SEE ALSO"
  25. \*-
  26. .sh DIAGNOSTICS
  27. \*-
  28.