|
PatchworkOS
|
Go to the source code of this file.
Functions | |
| int | system (const char *command) |
| int system | ( | const char * | command | ) |
Definition at line 6 of file system.c.
References atoi, spawn_fd_t::child, close(), ERR, MAX_PATH, NULL, openf(), read(), spawn(), SPAWN_FD_END, STDERR_FILENO, STDIN_FILENO, and STDOUT_FILENO.
Referenced by execute_commands().