std::fsetpos
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. |
definiert in Header <cstdio> | ||
int fsetpos(std::FILE* stream, conststd::fpos_t* pos ); | ||
Stellt die Datei Stellungsanzeige und die Multibyte Parsing Zustand (wenn vorhanden) für die C-Datei Stream
stream
nach dem Wert, auf den pos
. Original:
Sets the file position indicator and the multibyte parsing state (if any) for the C file stream
stream
according to the value pointed to by pos
. 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.
Neben der Gründung neuer parse Zustand und Position, rückgängig macht einen Aufruf dieser Funktion die Auswirkungen der std::ungetc und löscht die end-of-file Staat, wenn es gesetzt ist .
Original:
Besides establishing new parse state and position, a call to this function undoes the effects of std::ungetc and clears the end-of-file state, if it is 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.
Wenn ein Lese-oder Schreibzugriff Fehler auftritt, wird der Fehler-Anzeige (std::ferror) für den Strom gesetzt .
Original:
If a read or write error occurs, the error indicator (std::ferror)for the stream is 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.
[Bearbeiten]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. |
pos | - | Zeiger auf eine fpos_t Objekt aus std::fgetpos auf einem Strom mit der gleichen Akte zugeordnet nannte erhalten Original: pointer to a fpos_t object obtained from std::fgetpos called on a stream associated with the same file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten]Rückgabewert
0 auf Erfolg, Wert ungleich Null anders. Auch stellt errno bei Ausfall .
Original:
0 upon success, nonzero value otherwise. Also, sets errno on failure.
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.
[Bearbeiten]Siehe auch
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 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) | |
C documentation for fsetpos |