Sets a stream's file pointer position-indicator.
#include <stdio.h>
#define _USE_32BIT_FPOS_T // (default) for 32 bit fpos_t
#define _USE_64BIT_FPOS_T // for 64bit fpos_t int fsetpos (FILE *stream, const fpos_t *pos); int _fsetpos32 (FILE *stream, const fpos_t *pos); // INtime 7.3+ int _fsetpos64 (FILE *stream, const fpos_t *pos); // INtime 7.3+
stream
pos
This function clears the end-of-file indicator. After this call, the next operation on the stream may be either input or output.
| EBADF | The specified stream is not a valid file descriptor or is not accessible. |
| EINVAL | The stream value is invalid. |
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/stdio.h | stdio.h | clib.lib |