up: programming - C - File I/O  
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 utime
programming:c:function gets
programming:c:function isupper
AutoCAD - Dialog Control Language (DCL) - Minimal Example
programming:c:function fgets
programming:c:function fstat
programming - C - function gmtime
programming - C - function feof
programming:c:function ispunct
programming - C - function mktime
programming - C - function fgetc
php_errors
programming - C - function time
programming - C - function fputc
programming - C - function gets
programming:c:function printf
programming - windows - CreateWindowEx
filename:programming - C - function fseek
filename:programming%20%2D%20C%20%2D%20function%20fseek
last edit:December 19 2012 00:05:06 (5099 days ago)
ct = 1796429702.000000 = December 05 2026 00:15:02
ft = 1355875506.000000 = December 19 2012 00:05:06
dt = 440554196.000000