| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 */ | 4 |
| 5 #if defined(WIN32) | 5 #if defined(WIN32) |
| 6 #define _CRT_RAND_S | 6 #define _CRT_RAND_S |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #include <errno.h> | 9 #include <errno.h> |
| 10 #include <fcntl.h> | 10 #include <fcntl.h> |
| 11 #include <pthread.h> | 11 #include <pthread.h> |
| 12 #include <string.h> | 12 #include <string.h> |
| 13 | 13 |
| 14 #include <deque> | 14 #include <deque> |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 INITIALIZE_DEV_NODE("/tty", TtyNode); | 410 INITIALIZE_DEV_NODE("/tty", TtyNode); |
| 411 INITIALIZE_DEV_NODE_1("/stdin", RealNode, 0); | 411 INITIALIZE_DEV_NODE_1("/stdin", RealNode, 0); |
| 412 INITIALIZE_DEV_NODE_1("/stdout", RealNode, 1); | 412 INITIALIZE_DEV_NODE_1("/stdout", RealNode, 1); |
| 413 INITIALIZE_DEV_NODE_1("/stderr", RealNode, 2); | 413 INITIALIZE_DEV_NODE_1("/stderr", RealNode, 2); |
| 414 | 414 |
| 415 return 0; | 415 return 0; |
| 416 } | 416 } |
| 417 | 417 |
| 418 } // namespace nacl_io | 418 } // namespace nacl_io |
| 419 | 419 |
| OLD | NEW |