From: | "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx> |
Date: | Sat, 03 Oct 2009 18:07:18 +0000 |
Simon 'corecode' Schubert wrote: > Michel Salim (via DragonFly issue tracker) wrote: >> - My simplistic definition of getprogname() -- is it safe to just make >> it always >> return "dma" ? Linux has no functional equivalent > > No, you can't. dma can also act as "mailq", and should do so if called > with this name. It seems that glibc provides > program_invocation_short_name. What about just taking argv[0] early on? Cheers, -- Thomas E. Spanjaard tgen@netphreax.net tgen@deepbone.net
Attachment:
signature.asc
Description: OpenPGP digital signature