Library /sys$common/syshlp/helplib.hlb  —  CRTL  fsetpos
    Sets the file position indicator for a given file.

    Format

      #include  <stdio.h>

      int fsetpos  (FILE *stream, const fpos_t *pos);

1  –  Arguments

 stream

    A file pointer.

 pos

    A pointer to an implementation-defined structure. The fgetpos
    function fills this structure with information that can be used
    on subsequent calls to fsetpos.

2  –  Description

    Call the fgetpos function before using the fsetpos function.

3  –  Return Values

    0                  Indicates success.
    -1                 Indicates an error.
Close Help