>>62
sigh.
there is also no
main() function if you want to be a pedantic little shit. it's not a fully fledged program, you fucking moron, did you not notice that with your head shoved so far up your anus?
the reason it's more efficient to do it the Unix way is because your 12 argument function needs to check every parameter and act accordingly, whereas my 2 argument function has only one path of execution.
it's also much easier to read because if i use:
setuid(whatever);
chdir(whatever);
execvl(whatever, whatever)
the code is self explanatory. whereas:
create_process(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "\\some\\directory",NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 180);
is a complete mess.
you are a bad programmer and you should feel bad