From 0e56776e80613e7647cd0158d703c74ea560221b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 21 Dec 2015 14:22:28 +0100 Subject: attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/fcntl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/fcntl.h') diff --git a/include/fcntl.h b/include/fcntl.h index 02230c7..6bc42f0 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -48,6 +48,7 @@ * @since Always. */ int creat(const char*, mode_t) + __GCC_ONLY(__attribute__((__nonnull__, __warn_unused_result__))) __deprecated("Use 'open' instead."); -- cgit v1.2.3-70-g09d2