getpid.c

来自「Newlib 嵌入式 C库 标准实现代码」· C语言 代码 · 共 12 行

C
12
字号
/* NetWare version of getpid.  This is supposed to return a unique   identifier which is used to create temporary file names.  We use   the thread ID.  I hope this is unique.  */#include <unistd.h>pid_tgetpid (){  return GetThreadID ();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?