programming:c:function fseekWhat 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 fseek
programming:c:function isalnum
programming:c:function strpbrk
programming:c:function strncat
programming:c:function strchr
programming:c:functions:_splitpath
programming:windows:SetWindowText
programming:c:function iscntrl
programming:cpp:Cpp operator overloading
programming:c:function rewind
programming:c:function strpos
programming:c:function strtok
programming:c:function isalpha
programming:c:function strrev
programming - C - function strrchr
programming:c:function feof
programming:c:format string flags
programming - C - function isxdigit
filename:programming:c:function fseek
filename:programming%3Ac%3Afunction%20fseek
last edit:April 04 2009 23:29:04 (6430 days ago)
ct = 1794509846.000000 = November 12 2026 18:57:26
ft = 1238887744.000000 = April 04 2009 23:29:04
dt = 555622102.000000