For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > March 2008 > Use of execl()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Use of execl()
Aaron Hsu

2008-03-04, 7:17 pm

Is it okay to pass something other than the pathname as argv[0] when
using execl()?

execl(some_exec_path, argument1, NULL);

where argument1 != full_path_of_exec?
--
Aaron Hsu <arcfide@sacrideo.us> | Jabber: arcfide@jabber.org
``Government is the great fiction through which everybody endeavors to
live at the expense of everybody else.'' - Frederic Bastiat
447

2008-03-13, 3:59 am

Carmen Electra and Cameron Diaz Tormented By Cowgirls!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com