TacOS
0.2
|
#include <stdio.h>
Fonctions | |
size_t | fwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) |
Écriture binaire sur un flux. Plus de détails... | |
Copyright (C) 2010-2014 TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
Description de ce que fait le fichier
Cette fonction écrit jusqu'à nmemb elements dont la taille est définie par size vers le stream pointé par le pointeur stream. Pour chaque elements, fwrite fait size appels à fputc en castant simplement l'element en un tableau de uchar.
ptr | Pointeur vers les données à écrire. |
size | Taille d'un élément de données. |
nmemb | Nombre d'éléments. |
stream | Stream à utiliser. |