+void seekdir(DIR *dirp, long loc)
+{
+
+ WCETRACE(WCE_IO, "seekdir: called 0x%p , %d", dirp, loc);
+ if (dirp == NULL )
+{
+ errno = EINVAL;
+}
+
+ if ( loc < 0 )
+{
+ WCETRACE(WCE_IO, "telldir: Invalid loc %d for DIR dirp 0x%p",
loc, dirp);
+ errno = EINVAL;
2008/3/21, Danny Backx <[EMAIL PROTECTED]>:
> - extend our dirent.c (and submit the extensions), no change to Kaffe
>
> Danny
I extended dirent.c with the methods telldir() and seekdir(). A patch
is attached. My implementation is very simple, i'm not sure that it is
completely correct but
2008/3/21, Danny Backx <[EMAIL PROTECTED]>:
> The reason is that the newlib code in that directory relies on
> functionality not present on Windows CE (see 'man dirent.h').
>
> Ideally, rewritten code to implement those functions should be in
> src/newlib/newlib/libc/sys/wince . Part of it is a
On Wed, 2008-03-19 at 15:04 +0100, Mario Latronico wrote:
> i'm trying to port Kaffe (www.kaffe.org) to a Windows Mobile Platform
> using CeGCC, but i have a problem with seekdir and telldir functions.
The directory src/newlib/newlib/libc/posix contains source code for
these functions, but we don'
Hello,
i'm trying to port Kaffe (www.kaffe.org) to a Windows Mobile Platform
using CeGCC, but i have a problem with seekdir and telldir functions.
For example, if i try to compile with CeGCC this program:
- start telldir.c
#include
#include
#include
#include
#include
int main(){