3 ms·
Exactly the point - that call takes 11 parameters, many of which are complex structures themselves. Compare that to: pid_t fork(void); int execve(const char f
by caf 17y ago
Exactly the point - that call takes 11 parameters, many of which are complex structures themselves. Compare that to:
pid_t fork(void);
int execve(const char filename, char const argv[], char *const envp[]);
The idea is to have several simpler system calls that you can wire together to get the complex effect you need, rather than trying to build an ultimate CreateProcess function that can handle any case of infinite complexity.