On 18-01-2011 00:27:38 +0100, Karel Zak wrote: > > on Linux it's possible to use the /proc filesystem to get process > > name, wouldn't it be possible anything similar on Solaris? > > or use __progname or getexecname() or so... I think they are all GNU libc extensions. If GNUlib can't provide an alternative for program_invocation{,_short}_name, then I guess there is actually no way to do it other than really obtaining argv[0]. -- Fabian Groffen Gentoo on a different level -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html