projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e4413
)
tools/nolibc: add definitions for standard fds
author
Thomas Weißschuh
<linux@weissschuh.net>
Sat, 25 Mar 2023 15:45:09 +0000
(16:45 +0100)
committer
Paul E. McKenney
<paulmck@kernel.org>
Mon, 27 Mar 2023 23:26:10 +0000
(16:26 -0700)
These are useful for users and will also be used in an upcoming
testcase.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/unistd.h
patch
|
blob
|
history
diff --git
a/tools/include/nolibc/unistd.h
b/tools/include/nolibc/unistd.h
index
1cfcd52
..
ac7d53d
100644
(file)
--- a/
tools/include/nolibc/unistd.h
+++ b/
tools/include/nolibc/unistd.h
@@
-13,6
+13,11
@@
#include "sys.h"
+#define STDIN_FILENO 0
+#define STDOUT_FILENO 1
+#define STDERR_FILENO 2
+
+
static __attribute__((unused))
int msleep(unsigned int msecs)
{