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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <stdio.h>
|
||
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
setbuf oder 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
setbuf or 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.
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. |
Rückgabewert
0 bei Erfolg EOF andersOriginal:
0 on success, EOF otherwiseThe 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.
Beispiel
| This section is incomplete Reason: no example |
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) | |
C++ documentation for fclose
| |