git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48aa31a
)
windows/unistd: Add definitions for STD*_FILENO.
author
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 12 Mar 2014 20:57:42 +0000
(13:57 -0700)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Mon, 17 Mar 2014 21:20:48 +0000
(14:20 -0700)
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
include/windows/unistd.h
patch
|
blob
|
history
diff --git
a/include/windows/unistd.h
b/include/windows/unistd.h
index
0f553bb
..
d9ded5a
100644
(file)
--- a/
include/windows/unistd.h
+++ b/
include/windows/unistd.h
@@
-18,4
+18,9
@@
#define fsync _commit
+/* Standard file descriptors. */
+#define STDIN_FILENO 0 /* Standard input. */
+#define STDOUT_FILENO 1 /* Standard output. */
+#define STDERR_FILENO 2 /* Standard error output. */
+
#endif /* unistd.h */