On Sat, Feb 17, 2001 at 08:08:17AM -0600, Sandeep Sundaram wrote: > I know I can write a function which will read the proc file system and get > the name of the process, given the pid. But I am looking for a system call > !! Yes, use the read(2) system call to read from /proc :) -Arun