1 /* int64_t _PDCLIB_seek( FILE *, int64_t, int )
3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
11 #include "_PDCLIB_io.h"
13 int_fast64_t _PDCLIB_seek( FILE * stream,
18 if(!stream->ops->seek(stream->handle, offset, whence, &newPos)) {
25 stream->pos.offset = newPos;
32 #include "_PDCLIB_test.h"
36 /* Testing covered by ftell.c */