25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
<html><!-- This HTML file has been created by texi2html 1.29
|
|
from syscalls.texi on 4 June 1994 -->
|
|
|
|
<TITLE>Syscall specifications of Linux - getpid</TITLE>
|
|
<P>Go to the <A HREF="syscalls_62.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_62.html">previous</A>, <A HREF="syscalls_64.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_64.html">next</A> section.<P>
|
|
<H2><A NAME="SEC63" HREF="syscalls_toc.html#SEC63" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC63">getppid</A></H2>
|
|
<P>
|
|
<H3>SYNOPSIS</H3>
|
|
<P>
|
|
<CODE>pid_t getpid(void);</CODE>
|
|
<P>
|
|
<CODE>pid_t getppid(void);</CODE>
|
|
<P>
|
|
<H3>DESCRIPTION</H3>
|
|
<P>
|
|
<CODE>getpid</CODE> returns the process id of the current task and
|
|
<CODE>getppid</CODE> returns the process id of the parent task.
|
|
<P>
|
|
<H3>RETURN VALUE</H3>
|
|
<P>
|
|
<CODE>getpid</CODE>: the pid of the current task.
|
|
<CODE>getppid</CODE>: the pid of the parent task.
|
|
<P>
|
|
<P>Go to the <A HREF="syscalls_62.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_62.html">previous</A>, <A HREF="syscalls_64.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_64.html">next</A> section.<P>
|