getpid.html 434 B

1234567891011121314151617181920212223242526272829
  1. <html>
  2. <head>
  3. <title>getpid</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>getpid</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. getpid - get process id
  9. <h3>Library</h3>
  10. Standard C Library (libc, -lc)
  11. <h3>Synopsis</h3>
  12. #include &lt;unistd.h&gt;<br>
  13. <br>
  14. pid_t<br>
  15. getpid(void);
  16. <h3>Description</h3>
  17. getpid returns the process id of the current process.
  18. <h3>Errors</h3>
  19. getpid does not fail.
  20. </body>
  21. </html>