Mail Archives: djgpp-workers/1999/09/28/12:55:36
Eli Zaretskii wrote:
> Please ask specific questions about specific code fragments that you
> cannot figure out.
OK.
> dosexec.c is a tremendously complicated hodgepodge of subtle tricks,
> and I don't expect anybody to be able to tell the whole story without
> forgetting some of the important details, in reply to such a broad and
> general question.
My questions are from direct_exec_tail() -
1) Is argv[0] passed together with other args ?
2) Is argv[0] equal to exe's file name passed to DOS fn 0x4B? Where in
the memory lives argv[0] and .exe name ?
3) If LFN is converted to SFN, which version (short or long) goes to argv[0]?
Thanks,
Laurynas Biveinis
- Raw text -