Unix-system-calls-getpid
提供:Dev Guides
[top]#
|http://www.google.com/[Google] | a|
Web | This Site |
選択した読書 Copyright©2014 by finddevguides |
[cols=",,,,,,,",] |
| | Home | | References | | Discussion Forums | | About TP
[width="100%",cols="100%",] |
a| == getpid()-Unix、Linuxシステムコール
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] image:http://www.finddevguides.com/add- this.gif [AddThisソーシャルブックマークボタン]
広告
NAME
getpid、getppid-プロセス識別の取得
概要
- #include <sys/types.h> * *#include <unistd.h> *
*pid_t getpid(void);* *pid_t getppid(void);*
説明
*getpid* ()は、現在のプロセスのプロセスIDを返します。 (これは、一意の一時ファイル名を生成するルーチンでよく使用されます。)
*getppid* ()は、現在のプロセスの親のプロセスIDを返します。
準拠
POSIX.1-2001、4.3BSD、SVr4
関連項目
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]
広告
|
[cols="^",] |
|Advertisements