aboutsummaryrefslogtreecommitdiffstats
path: root/humans.txt
blob: f591223babd0204523e4f99c5ee1eebf75e221d4 (plain)
1
2
3
4
5
6
7
8
Mageia is a community project building Free Software tools for people
for the next century; and starts with a solid Linux-based distribution.

It's fun and it's tough,
we're worldwide and we're local,
it's about code and it's about people.

If you would like to join and help us, see mageia.org/contribute.
alue='topic/ppp'>topic/ppp Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libstdio/fseek.c
blob: 5bb96bc6e3417fa910e53a74416a4aaa25771c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <dietstdio.h>
#include <unistd.h>

long fseek(FILE *stream, long offset, int whence) {
  fflush(stream);
#ifdef WANT_BUFFERED_STDIO
  stream->bm=0; stream->bs=0;
#endif
  stream->flags&=~(ERRORINDICATOR|EOFINDICATOR);
  return (lseek(stream->fd,offset,whence));
}