std::fclose
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 fclose( FILE *stream ); | ||
Schließt die angegebene Datei-Stream. Irgendwelche ungeschriebenen gepufferten Daten werden an die OS gespült. Alle ungelesenen gepufferten Daten werden verworfen .
Original:
Closes the given file stream. Any unwritten buffered data are flushed to the OS. Any unread buffered data are discarded.
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.
Ob die Operation erfolgreich, wird der Strom nicht mehr mit einer Datei verbunden ist, und der Puffer durch zugeteilt std::setbuf oder std::setvbuf, falls vorhanden, ist auch distanziert und freigegeben, wenn die automatische Zuordnung verwendet wurde .
Original:
Whether or not the operation succeeds, the stream is no longer associated with a file, and the buffer allocated by std::setbuf or std::setvbuf, if any, is also disassociated and deallocated if automatic allocation was used.
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 |
[Bearbeiten]Parameter
stream | - | der Datei-Stream zu schließen Original: the file stream to close 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 bei Erfolg EOF anders
Original:
0 on success, EOF otherwise
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]Beispiel
This section is incomplete Reason: no example |
[Bearbeiten]Siehe auch
öffnet eine Datei Original: opens 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) | |
Öffnen einer vorhandenen Stream mit einem anderen Namen Original: open an existing stream with a different name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
spült die Put-Bereich Puffer und schließt die zugehörige Datei Original: flushes the put area buffer and closes the associated file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion of std::basic_filebuf ) | |
C documentation for fclose |