Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: native_client_sdk/src/libraries/nacl_io/node.h

Issue 59883020: [NaCl SDK] nacl_io: Enable isatty running under sel_ldr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/node.h
diff --git a/native_client_sdk/src/libraries/nacl_io/node.h b/native_client_sdk/src/libraries/nacl_io/node.h
index 54b513a1795e28d35285a5407e14a9ce301f0874..4e4420c0ed6a4820a50fff3654e6e6a89abcdef6 100644
--- a/native_client_sdk/src/libraries/nacl_io/node.h
+++ b/native_client_sdk/src/libraries/nacl_io/node.h
@@ -95,10 +95,12 @@ class Node : public sdk_util::RefObject {
virtual void SetType(int type);
// Assume that |out_size| is non-NULL.
virtual Error GetSize(size_t* out_size);
+ // Returns 0 if node is a TTY
+ virtual Error Isatty();
+
virtual bool IsaDir();
virtual bool IsaFile();
virtual bool IsaSock();
- virtual bool IsaTTY();
// Number of children for this node (directory)
virtual int ChildCount();
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h ('k') | native_client_sdk/src/libraries/nacl_io/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698