aboutsummaryrefslogtreecommitdiffstats
path: root/include/fcntl.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-21 14:22:28 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-21 14:22:28 +0100
commit0e56776e80613e7647cd0158d703c74ea560221b (patch)
tree14132726c5021e2a72b6385b85eba48972032f2b /include/fcntl.h
parentwhoops (diff)
downloadslibc-0e56776e80613e7647cd0158d703c74ea560221b.tar.gz
slibc-0e56776e80613e7647cd0158d703c74ea560221b.tar.bz2
slibc-0e56776e80613e7647cd0158d703c74ea560221b.tar.xz
attributes
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-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.");