| Index: native_client_sdk/src/libraries/nacl_io/mount_node_stream.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node_stream.cc b/native_client_sdk/src/libraries/nacl_io/mount_node_stream.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7ed451ce847abad10fab7a2223ed29646aab3418
|
| --- /dev/null
|
| +++ b/native_client_sdk/src/libraries/nacl_io/mount_node_stream.cc
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "nacl_io/mount_node_stream.h"
|
| +
|
| +#include <errno.h>
|
| +#include <fcntl.h>
|
| +#include <pthread.h>
|
| +#include <string.h>
|
| +
|
| +#include "nacl_io/ioctl.h"
|
| +
|
| +
|
| +namespace nacl_io {
|
| +
|
| +MountNodeStream::MountNodeStream(Mount* mnt)
|
| + : MountNode(mnt),
|
| + read_timeout_(-1),
|
| + write_timeout_(-1) {
|
| +}
|
| +
|
| +Error MountNodeStream::Init(int perm) {
|
| + MountNode::Init(perm);
|
| + return 0;
|
| +}
|
| +
|
| +} // namespace nacl_io
|
| +
|
|
|