title: how to get process name from c program?
body: <p>In C program in linux, we can use <code>getpid()</code> and <code>getppid()</code> system call to get the pid and ppid of a process, </p>
  
  <p>Similarly is there any system call to get name of a process/current process?</p>