<div dir="ltr"><div><br></div><div>Hi,</div><div><br></div><div>I want to invoke getpid() system call using syscall. Here's the code snippet below. But, I can't find anything in dmesg|tail output.</div><div><br></div>
<div>#include <sys/types.h></div><div><br></div><div>int main()</div><div>{</div><div> pid_tret = syscall(20);</div><div> return 0;</div><div>}</div></div>