Fseek manual






















FSEEK(3P) POSIX Programmer's Manual FSEEK(3P) PROLOG top This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. fseek. Sets the position indicator associated with the stream to a new position. For streams open in binary mode, the new position is defined by adding offset to a reference position specified by origin. For streams open in text mode, offset shall either be zero or a value returned by a previous call to ftell, and origin shall necessarily be. The fseek() function sets the file position indicator for the stream pointed to by stream. The new position, measured in bytes, is obtained by adding offset .


FSEEK(3P) POSIX Programmer's Manual FSEEK(3P) PROLOG top This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. The C library function int fseek(FILE *stream, long int offset, int whence) sets the file position of the stream to the given offset. Declaration Following is the declaration for fseek() function. The fseek() function shall allow the file-position indicator to be set beyond the end of existing data in the file. If data is later written at this point, subsequent reads of data in the gap shall return bytes with the value 0 until data is actually written into the gap.


27 សីហា The fseek() function sets the file position indicator for the stream pointed to by stream. The new position, measured in bytes, is obtained by. 23 មេសា Because of this, the C standard only defines fseek in text files in a few cases: to the Check your manual that came with your C compiler. Before using the controller, read this manual thoroughly to have a clear understanding of the controller. C File Seek (FSEEK).

0コメント

  • 1000 / 1000