2020-07-26 15:38:29 -05:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
*/
|
|
|
|
|
2020-07-26 14:39:08 -05:00
|
|
|
#ifndef UNISTD_H
|
|
|
|
#define UNISTD_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
2020-07-26 15:38:29 -05:00
|
|
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
|
|
|
|
2020-07-26 14:39:08 -05:00
|
|
|
pid_t fork(void); // GCC required
|
|
|
|
int execv(const char* path, char* const argv[]); // GCC required
|
|
|
|
int execve(const char* path, char* const argv[], char* const envp[]); // GCC required
|
|
|
|
int execvp(const char* file, char* const argv[]); // GCC required
|
2020-07-26 15:38:29 -05:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the current process's PID
|
|
|
|
* \return the current process's PID
|
|
|
|
*/
|
2020-07-26 14:39:08 -05:00
|
|
|
pid_t getpid();
|
|
|
|
|
2020-07-26 15:38:29 -05:00
|
|
|
|
2020-07-26 14:39:08 -05:00
|
|
|
#endif
|