From: Philip Homburg Date: Thu, 21 Feb 2008 15:58:06 +0000 (+0000) Subject: Added O_REOPEN. X-Git-Tag: v3.1.4~293 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/verify-sign/Bv9ARM.ch13.html?a=commitdiff_plain;h=3b3fc8a9c425323580343643aac43b254d9eda6e;p=minix.git Added O_REOPEN. --- 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 */