From 3b3fc8a9c425323580343643aac43b254d9eda6e Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Thu, 21 Feb 2008 15:58:06 +0000 Subject: [PATCH] Added O_REOPEN. --- include/fcntl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/fcntl.h b/include/fcntl.h index fd3b6fdaf..e0353692c 100755 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -42,6 +42,9 @@ /* File status flags for open() and fcntl(). POSIX Table 6-5. */ #define O_APPEND 02000 /* set append mode */ #define O_NONBLOCK 04000 /* no delay */ +#define O_REOPEN 010000 /* automatically re-open device after driver + * restart + */ /* File access modes for open() and fcntl(). POSIX Table 6-6. */ #define O_RDONLY 0 /* open(name, O_RDONLY) opens read only */ -- 2.44.0