GETPID

9.120 GETPID — Process ID function

Description:
Returns the numerical process identifier of the current process.
Standard:
GNU extension
Class:
Function
Syntax:
RESULT = GETPID()
Return value:
The return value of GETPID is an INTEGER of the default kind.
Example:
program info
  print *, "The current process ID is ", getpid()
  print *, "Your numerical user ID is ", getuid()
  print *, "Your numerical group ID is ", getgid()
end program info
See also:
GETGID, GETUID

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/GETPID.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部