fread
De 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>| Definido no cabeçalho <stdio.h>
|
||
size_t fread( void *buffer, size_t size, size_t count, FILE *stream ); |
||
Lê número especificado de objetos no
buffer matriz do stream dado fluxo de entrada. Os objetos não são interpretados de qualquer forma. Original:
Reads specified number of objects in the array
buffer from the given input stream stream. Objects are not interpreted in any way. 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.
Parâmetros
| buffer | - | ponteiro para o objeto primeiro objeto na matriz para ser lido
Original: pointer to the first object object in the array to be read The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| size | - | tamanho de cada objeto em bytes
Original: size of each object in bytes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| count | - | o número de objetos a serem lidos
Original: the number of the objects to be read The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
número de objetos ler com êxito
Original:
number of objects read successfully
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.
Veja também
lê entrada formatada de stdin, um fluxo de arquivo ou um tampão Original: reads formatted input from stdin, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
recebe uma cadeia de caracteres a partir de um fluxo de arquivo Original: gets a character string from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
grava em um arquivo Original: writes to a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) | |
C++ documentation for fread
| |