getpid.2
来自「操作系统设计与实现源码」· 2 代码 · 共 60 行
2
60 行
GETPID(2) Minix Programmer's Manual GETPID(2)
NAME
getpid, getppid - get process identification
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
pid_t getpid(void)
pid_t getppid(void)
DESCRIPTION
Getpid returns the process ID of the current process. Most often it is
used to generate uniquely-named temporary files.
Getppid returns the process ID of the parent of the current process.
SEE ALSO
fork(2).
4BSD May 13, 1986 1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?