[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH 1/1] lib/nolibc: Add STD{IN, OUT, ERR}_FILENO



Looks fine. Thanks!

Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 22.01.20 12:14, Vlad-Andrei BĂDOIU (78692) wrote:
Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
  lib/nolibc/include/unistd.h | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
index 56a472ce..99b5d305 100644
--- a/lib/nolibc/include/unistd.h
+++ b/lib/nolibc/include/unistd.h
@@ -88,6 +88,10 @@ int unlink(const char *pathname);
  off_t lseek(int fd, off_t offset, int whence);
  #endif
+#define STDIN_FILENO 0 /* standard input file descriptor */
+#define STDOUT_FILENO  1       /* standard output file descriptor */
+#define STDERR_FILENO  2       /* standard error file descriptor */
+
  #ifdef __cplusplus
  }
  #endif


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.