#include "sceptre.h"
#include "device.h"
#include <reent.h>
#include <errno.h>
Go to the source code of this file.
Functions | |
_off_t | _lseek_r (struct _reent *p_reent, int fd, _off_t pos, int whence) |
newlib - lseek.
Definition in file lseek_r.c.
_off_t _lseek_r | ( | struct _reent * | p_reent, | |
int | fd, | |||
_off_t | pos, | |||
int | whence | |||
) |
This function has to be implemented if you want to use lseek in your programs.
Move the file pointer.
p_reent | Pointer to a structure that will receive the return value. | |
fd | Handle of file to set file pointer of. | |
pos | Position to move the file pointer to. | |
whence | The way the file pointer is moved. |