5#ifndef RUNTIME_BIN_NAMESPACE_FUCHSIA_H_
6#define RUNTIME_BIN_NAMESPACE_FUCHSIA_H_
9#if !defined(DART_HOST_OS_FUCHSIA)
10#error "This header file should only be included when targeting Fuchsia."
13#include <lib/fdio/namespace.h>
24 intptr_t
rootfd()
const {
return rootfd_; }
25 char*
cwd()
const {
return cwd_; }
26 intptr_t
cwdfd()
const {
return cwdfd_; }
27 fdio_ns_t*
fdio_ns()
const {
return fdio_ns_; }
NamespaceImpl(const char *path)
fdio_ns_t * fdio_ns() const
NamespaceImpl(fdio_ns_t *fdio_ns)
bool SetCwd(Namespace *namespc, const char *new_path)