From c67ed28f9b4be9fa17d000e79d9057f778d4d56c Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 27 Nov 2004 15:18:33 +0000 Subject: [PATCH] Added O_EXCL git-svn-id: svn://svn.cc65.org/cc65/trunk@3306 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/fcntl.inc | 2 ++ include/fcntl.h | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/asminc/fcntl.inc b/asminc/fcntl.inc index 16a254952..49c11a9b5 100644 --- a/asminc/fcntl.inc +++ b/asminc/fcntl.inc @@ -14,6 +14,8 @@ O_RDWR = $03 O_CREAT = $10 O_TRUNC = $20 O_APPEND = $40 +O_EXCL = $80 + diff --git a/include/fcntl.h b/include/fcntl.h index 82ff4acb1..fd86c7a19 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998-2003 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 1998-2004 Ullrich von Bassewitz */ +/* Römerstraße 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -39,7 +39,7 @@ /*****************************************************************************/ -/* Data */ +/* Data */ /*****************************************************************************/ @@ -51,6 +51,7 @@ #define O_CREAT 0x10 #define O_TRUNC 0x20 #define O_APPEND 0x40 +#define O_EXCL 0x80 -- 2.39.5