summaryrefslogtreecommitdiff
path: root/src/stdio/fseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fseek.c')
-rw-r--r--src/stdio/fseek.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/stdio/fseek.c b/src/stdio/fseek.c
index fb40fa70..e1c6db57 100644
--- a/src/stdio/fseek.c
+++ b/src/stdio/fseek.c
@@ -1,11 +1,12 @@
-#if 0
-
#include <stdio.h>
+#include "_stdio.h"
/** set the file position indicator **/
int fseek(FILE *stream, long int offset, int whence)
{
+ SIGNAL_SAFE(0);
+
(void)stream; (void)offset;
if (whence == SEEK_CUR) {
@@ -34,6 +35,3 @@ UNDEFINED(Specifying CONSTANT(SEEK_END) for ARGUMENT(whence) on a binary file)
UNDEFINED(Specifying a value for ARGUMENT(offset) other than 0 or a previous return value of FUNCTION(ftell) on a text file)
STDC(1)
*/
-
-
-#endif