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

Re: [MiNT] Réf. : [MiNT] Runtime AES application name change?



Patrick PROKOPOWICZ schrieb:
> 
> and another step :
> I need a way for obtain the complete path of a running app (more spécially
> the desktop).
> 
> my idea is to obtain the name with appl_search (desktop=type
> application+shell), and to scan
> the discs for searching the path...
> 
> is someone having a better way ?
You could do a Fcntl(fd,&info,PLOADINFO)

--- dcntl.h ---
struct ploadinfo
{
	/* passed */
	unsigned short fnamelen;
	
	/* returned */
	char *cmdlin /* 128 byte */, *fname;
};
--- dcntl.h ---

Bye,
Andi