GETPID.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. GETPID(2)                 Minix Programmer's Manual                  GETPID(2)
  2. NAME
  3.      getpid, getppid - get process identification
  4. SYNOPSIS
  5.      #include <sys/types.h>
  6.      #include <unistd.h>
  7.      pid_t getpid(void)
  8.      pid_t getppid(void)
  9. DESCRIPTION
  10.      Getpid returns the process ID of the current process.  Most often  it  is
  11.      used to generate uniquely-named temporary files.
  12.      Getppid returns the process ID of the parent of the current process.
  13. SEE ALSO
  14.      fork(2).
  15. 4BSD                              May 13, 1986                               1