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

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



Hello!

> > 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 ---

It's recommended to use /kern/<pid>/cmdline instead. There is also no 128
byte limit for that.


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de