LLVM API Documentation
#include "llvm/Config/config.h"#include <cstdlib>#include <cstdio>#include <cstring>#include <cerrno>#include <string>#include <algorithm>#include <unistd.h>#include <sys/types.h>#include <sys/param.h>#include <assert.h>#include <sys/time.h>#include <time.h>#include <sys/wait.h>Include dependency graph for Unix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| #define | WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
Functions | |
| bool | GetErrno (const std::string &prefix, std::string *ErrDest, int errnum=-1) |
| void | ThrowErrno (const std::string &prefix, int errnum=-1) |
| bool GetErrno | ( | const std::string & | prefix, | |
| std::string * | ErrDest, | |||
| int | errnum = -1 | |||
| ) | [inline] |
| void ThrowErrno | ( | const std::string & | prefix, | |
| int | errnum = -1 | |||
| ) | [inline] |