added _fseek for R5 compatibility

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14365 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-10-12 15:52:35 +00:00
parent e289737816
commit a26988784a
2 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
SubDir OBOS_TOP src system libroot posix stdio ; SubDir OBOS_TOP src system libroot posix stdio ;
KernelMergeObject posix_stdio.o : KernelMergeObject posix_stdio.o :
_fseek.c
<$(SOURCE_GRIST)>remove.c <$(SOURCE_GRIST)>remove.c
<$(SOURCE_GRIST)>rename.c <$(SOURCE_GRIST)>rename.c
# The other files are superseded by the glibc libio/stdio stuff # The other files are superseded by the glibc libio/stdio stuff

View File

@ -0,0 +1,12 @@
/*
** Copyright 2005, Jérôme Duval. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
#include <stdio.h>
int
_fseek(FILE *stream, fpos_t offset, int seekType)
{
return fseeko(stream, offset, seekType);
}