Re: [AD] Magic main on POSIX systems |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Vincent Penquerc'h wrote:
/proc/self/exe on Linux, /proc/curproc/file on FreeBSD)" So I propose that we further explore this path, so as toThere are quite a few Unices which do not have /proc, I'd think, I didn't even know FreeBSD had it. Solaris and IRIX,
I don't know what this /proc thing is, but FYI, I get the following: $ echo $MACHTYPE sparc-sun-solaris2.6 $ ls /proc/ 0 130 17021 18921 20802 23445 28697 4342 5494 7360 [and a page of more numbers looking like pids, but nothing else] Sven
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |