6.18.8 fseek Macros

These macros are used by the function fseek.

SEEK_CUR

Indicates that fseek should seek from the current position of the file pointer.

Include

<stdio.h>

Example

See example for fseek.

SEEK_END

Indicates that fseek should seek from the end of the file.

Include

<stdio.h>

Example

See example for fseek.

SEEK_SET

Indicates that fseek should seek from the beginning of the file.

Include

<stdio.h>

Example

See example for fseek.