Re: [PATCH] provide a workaround if program_invocation_short_name is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux