]> pd.if.org Git - pdclib/blob - platform/example/functions/_PDCLIB/seek.c
wcsncat test suite had a parameter which was a narrow string. whoops!
[pdclib] / platform / example / functions / _PDCLIB / seek.c
1 /* $Id$ */
2
3 /* int64_t _PDCLIB_seek( FILE *, int64_t, int )
4
5    This file is part of the Public Domain C Library (PDCLib).
6    Permission is granted to use, modify, and / or redistribute at will.
7 */
8
9 #include <stdio.h>
10 #include <errno.h>
11 #include <_PDCLIB_glue.h>
12
13 _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t offset, int whence )
14 {
15     errno = ENOTSUP;
16     return EOF;
17 }
18
19 #ifdef TEST
20 #include <_PDCLIB_test.h>
21
22 int main( void )
23 {
24     /* Testing covered by ftell.c */
25     return TEST_RESULTS;
26 }
27
28 #endif
29