os/libc/unistd.h

27 lines
474 B
C

/**
* \file
*/
#ifndef UNISTD_H
#define UNISTD_H
#include <sys/types.h>
#ifndef DOXYGEN_SHOULD_SKIP_THIS
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
#endif
/**
* Gets the current process's PID
* \return the current process's PID
*/
pid_t getpid();
#endif