If argv [0] is "/" Start of the word, it may be the absolute location of your program path. If not then have to check the PATH according to the order in which each directory to see if there with argv [0] the same program. If you find the words to that directory with the name of the program solicitation may be what you want them
pathname of the.
However, this method is not necessarily found is correct, because the program used in exec () time, argv [0] is arbitrarily given. The argv [0] Set the program to be executed with the same name but a Usage everything!
The following examples may make you a more clearer:
# Include
main ()
(
execl ("/ usr / games / rogue", "vi Thesis", (char *) NULL);
)
This program will be executed that its name (argv [0] of value) is "vi Thesis").
Recommended links:
3GPP converter
email finder the best email address Finder
World Rally 3 cheat
"Plant Wars Zombie" Endlss50 Splash Breakthrough Detailed Raiders
Effective process improvement method Must contain the elements
Specialist FONT Tools
Simple Icon Tools
MOD converter
ADSL FAQ wonderful Q & A?
Do for others to do the wedding dress carriers should be out of the "influence" the edge
Decade of embarrassing the CHINESE game
VOB to WMV
Create A Simple Window
Overall bandwidth of Thunder Edge Broadcasting below to see new resolution
No comments:
Post a Comment