[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to find pid with cpp ?
On 12/5/05, Mehmet Fatih AKBULUT <mfatihakbulut@xxxxxxxxx> wrote:
> hi all.
> how can i find a running process' pid with using cpp ?
> anyone can help ?
>
getpid() will give you the pid of current process. see manual of
getpid by runnning command "man getpid".
--
Fawad Lateef
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/