fseek
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <stdio.h>
|
||
int fseek( FILE *stream, long offset, int origin ); |
||
Stellt die Position in der Datei Indikator für die Datei-Stream
stream auf den Wert, auf den offset. Diese Funktion verwendet werden, um die Anzeige hinter dem tatsächlichen Ende der Datei gesetzt werden, jedoch werden negative Positionswerte nicht akzeptiert . Original:
Sets the file position indicator for the file stream
stream to the value pointed to by offset. This function can be used to set the indicator beyond the actual end of the file, however, negative position values are not accepted. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis
Parameter
| stream | - | Datei-Stream zu ändern
Original: file stream to modify The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| offset | - | Anzahl der Zeichen, die Position relativ zum Ursprung zu verschieben
Original: number of characters to shift the position relative to origin The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| origin | - | an welche Position
offset zugegeben. Es kann eine der folgenden Werte haben: SEEK_SET, SEEK_CUR, SEEK_ENDOriginal: position to which offset is added. It can have one of the following values: SEEK_SET, SEEK_CUR, SEEK_ENDThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
0 auf Erfolg, Wert ungleich Null anders. Assoziierte EOF Flag für den Stream gelöscht und die Auswirkungen von ungetc wird rückgängig gemacht . Original:
0 upon success, nonzero value otherwise. Associated EOF flag is cleared for the stream and the effect of any ungetc is undone. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Notes
Für Text-Streams, die einzigen gültigen Werte
offset sind 0 (anwendbar auf origin) und einem Wert von einem früheren Aufruf ftell (gilt nur für SEEK_SET) zurückgegeben .Original:
For text streams, the only valid values of
offset are 0 (applicable to any origin) and a value returned by an earlier call to ftell (only applicable to SEEK_SET).The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Siehe auch
verschiebt die Datei Positionsanzeiger zu einer bestimmten Position in einer Datei Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
erhält die Datei Stellungsanzeige Original: gets the file position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
liefert die aktuelle Position in der Datei-Anzeige Original: returns the current file position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
verschiebt die Datei Stellungsanzeige zum Anfang in einer Datei Original: moves the file position indicator to the beginning in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
C++ documentation for fseek
|