#include "lldb/Host/FileSystem.h"
#include <dirent.h>
#include <fcntl.h>
#include <sys/mount.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#if defined(__NetBSD__)
#include <sys/statvfs.h>
#endif
#include "lldb/Host/Host.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/FileSystem.h"
usingnamespacelldb;
usingnamespacelldb_private;
const char *FileSystem::DEV_NULL = …;
Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { … }
Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { … }
Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { … }
FILE *FileSystem::Fopen(const char *path, const char *mode) { … }
int FileSystem::Open(const char *path, int flags, int mode) { … }