execl() number of args
| theChameleon (12) | |||
| hello, what must i write in my program to ensure that whenever i call execl, the correct number of arguments are passed into it? example, if i write the code to pass 4 arguments into the execl(), the 5th to n arguments would be ignored. is there a way to prevent this... other than overloading? if there is none, is there an alternative? thanks. | |||
| bnbertha (404) | |||
| there are a whole family of exec calls, some take lists, some take vectors. It sounds like you need to use one of the vector variants e.g. execv(). | |||
| theChameleon (12) | |||
| thanks for your reply... :D | |||
This topic is archived - New replies not allowed.
