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

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


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 22 Jan 2020 11:14:24 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3JKx4R4rMPJldV7CBuOVGaoFFBaiOwaYjQEcVrsb4r0=; b=YQyr49Yrg5hJMraCXCmpY5mk4Y4mHymjh8eMOlptC6d6GGxFYSwsmtOSXiQV6bTOddJ45ia8tmh80I0UC1mE6YtlltJHVtySahHw/5sSlpvXAhxP8Q6K9NDKmqP4azcSUZjpb0qiGVYQ9PjRIxtsdGtMqMpIJjUW/bkokN6r614+xSlfD6ojm/H/yGm0WKC8v3Csh8oC6e2UpKTpXZfZnHDOm+LiEGPpyIciMOR1+62jhh8laCrwCZw7vVi2PA3zaQMBOXvvKQtcu+8dZ3qUiNRaF1eGwsnmfuZuy/LT0T1RG1XaW9nTyWtc7XxqlVaP25DLVEsn/D1O7oxXjN8X5Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VGMw5BJB/nBUrdod5JLvFu0g5oiE5vgZHz2hpaOBrqk0+heHJl8puEp4MWVh8D9EJRSPQ03THQ/ngz5y7oGb3S+ZEvrHAg6+kxiRjtxwZo4FqunQl7fUafnvvCoCXtbrrfJwVED6++PVGjbuRqAHBTdevDeqG2mxY4e8af+VfPmsKNVuMSqPsNyvSe1dQyO6wH/7HhQ/WcURGqwFo+d92LXbMhKdjR5mXzaADrx3IA1Qdc4w3ZKX4TJ/kjd8HUWjql0d5E2NXbWsRM5nWpu+bF2vc+MxumohHQuYtMq4PXwZ2OeGo9qCkplEB0ma3EiLero+t7sb1a89p1BHHFsB2g==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 22 Jan 2020 11:14:30 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHV0RUaZc4Mb3LVDUmGghor3ecWIg==
  • Thread-topic: [UNIKRAFT PATCH 1/1] lib/nolibc: Add STD{IN,OUT,ERR}_FILENO

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
-- 
2.20.1


_______________________________________________
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®.