summaryrefslogtreecommitdiff
path: root/src/stdio/fileno.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fileno.c')
-rw-r--r--src/stdio/fileno.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/stdio/fileno.c b/src/stdio/fileno.c
index 7a6cbd7c..5432ecb0 100644
--- a/src/stdio/fileno.c
+++ b/src/stdio/fileno.c
@@ -1,17 +1,13 @@
-#if 0
-
#include <stdio.h>
#include "_stdio.h"
-#include "_assert.h"
int fileno(FILE * stream)
{
+ SIGNAL_SAFE(0);
ASSERT_NONNULL(stream);
return stream->fd;
}
+
/*
POSIX(1)
*/
-
-
-#endif