programming:c:function freadWhat links here?

Syntax

int fseek(FILE * stream , long offset , int origin)


Description

Reposition stream's position indicator. Sets the position indicator associated with the stream to a new position defined by an offset from the location given by the origin parameter.

The End-Of-File indicator of this stream is cleared after a call to fseek.

When using fseek on files opened in text mode consider that you can only be sure of the results if an offset of 0 or an offset equal to a value returned from ftell is specified, any other offset value makes result unpredictable because of Carriage-Return translations under this mode.

The next operation with the stream after a call to fseek can be either for input or output.

Parameters



Return Value

If successful the function returns 0. Otherwise it returns nonzero.
programming:c:function fread
programming:c:function isgraph
microprocessors - microchip pics - programming interface
programming:c:function fgetc
programming - algorithms - 3D - Rotation
programming:c:function strcat
programming - pascal - procedure - str
programming - C - function ftell
programming - pascal - procedure - val
AutoCAD Entity Definitions - insert
electronics - Programmable Array Logic (PAL)
AutoCAD - Dialog Control Language (DCL) - column
filename:programming:c:function fread
filename:programming%3Ac%3Afunction%20fread
last edit:April 04 2009 16:22:14 (6183 days ago)
ct = 1773153000.000000 = March 10 2026 10:30:00
ft = 1238876534.000000 = April 04 2009 16:22:14
dt = 534276466.000000