cestdio.c

"Nghiath" <[email protected]> Fri, 29 Apr 2005 21:02:49 +0200
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <[email protected]>
Dear all,

I found that in cestdio.c, fonction xcefclose
returns void while in prototype, i see that
xcefclose returns int.

What do you think?
Happy to listen to your idea.

#ifndef PALM_SIZE
void
xcefclose(FILE *f)
{
  int fd;

  for(fd = 0; fd < MAXFDS; fd++)
    {
      if(_fdtab[fd].hFile == fileno(f))
 {
   _fdtab[fd].fd = -1;
   break;
 }
    }
  fclose(f);
}
#endif

[Non-text portions of this message have been removed]