[PATCH 1/7] New path defines for <paths.h>

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Oct 8 12:45:00 GMT 2013


newlib/ChangeLog
2013-10-08  Sebastian Huber <sebastian.huber@embedded-brains.de>

	* libc/include/paths.h (_PATH_DEVNULL): Define.
	(_PATH_DEVZERO): Likewise.
---
 newlib/libc/include/paths.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/newlib/libc/include/paths.h b/newlib/libc/include/paths.h
index 36cf78a..b1c70f5 100644
--- a/newlib/libc/include/paths.h
+++ b/newlib/libc/include/paths.h
@@ -2,6 +2,8 @@
 #define _PATHS_H_
 
 #define _PATH_DEV	"/dev/"
+#define _PATH_DEVNULL   "/dev/null"
+#define _PATH_DEVZERO   "/dev/zero"
 #define _PATH_BSHELL    "/bin/sh"
 
 #endif /* _PATHS_H_ */
-- 
1.7.7



More information about the Newlib mailing list