[uClinux-dev] system call for process file name
hamilton at sedsystems.ca
Wed Mar 26 16:17:29 EST 2003
I don't know if there is one but you may want to use argv. main is
int main(int argc, char **argv);
argv is the first parameter used to run the program. This does not have
to be the filename of the executable (look at busybox for an example of it
Kendrick Hamilton E.I.T.
SED Systems, a division of Calian Ltd.
18 Innovation Blvd.
PO Box 1464
Hamilton at sedsystems.ca
Tel: (306) 933-1453
Fax: (306) 933-1486
More information about the uClinux-dev