📄 getpid.2
字号:
.\" Copyright (c) 1980 Regents of the University of California..\" All rights reserved. The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\" @(#)getpid.2 6.3 (Berkeley) 5/13/86.\".TH GETPID 2 "May 13, 1986".UC 4.SH NAMEgetpid, getppid \- get process identification.SH SYNOPSIS.ft B.nf#include <sys/types.h>#include <unistd.h>pid_t getpid(void)pid_t getppid(void).fi.ft R.SH DESCRIPTION.B Getpidreturnsthe process ID ofthe current process.Most often it is usedto generate uniquely-named temporary files..PP.B Getppidreturns the process ID of the parentof the current process. .SH "SEE ALSO.BR fork (2).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -