aboutsummaryrefslogtreecommitdiffstats
path: root/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fcntl.h')
-rw-r--r--include/fcntl.h1
1 files changed, 1 insertions, 0 deletions
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.");