Contents of argv[0]

Johan Myreen jem at cs.hut.fi
Mon Aug 21 23:31:06 AEST 1989


In article <10154 at csli.Stanford.EDU> gandalf at csli.Stanford.EDU (Juergen Wagner) writes:

>path name can be obtained in one of several ways:

>[3] In an operating system dependent way. E.g. by examining the inode
>    associated with the text segment of the current process, ... Maybe

But how do you get the path name from the inode?

--
* Johan Myreen
* jem at spica.hut.fi



More information about the Comp.lang.c mailing list