summaryrefslogtreecommitdiff
path: root/src/stdio/fsetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fsetpos.c')
-rw-r--r--src/stdio/fsetpos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/fsetpos.c b/src/stdio/fsetpos.c
index c75fed41..f4aaf71c 100644
--- a/src/stdio/fsetpos.c
+++ b/src/stdio/fsetpos.c
@@ -6,6 +6,8 @@
int fsetpos(FILE *stream, const fpos_t *pos)
{
SIGNAL_SAFE(0);
+ ASSERT_STREAM(stream, 0, 0);
+ ASSERT_FPOS(stream, pos);
ASSERT_NOOVERLAP(stream, sizeof(*stream), pos, sizeof(*pos));
(void)stream; (void)pos;