Argox PA-20 Programming Guide Bedienungsanleitung Seite 55

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 130
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 54
PT-20 Programming Guide
53
non-zero value.
_fwrite
Purpose
Use _fwrite to write a specified number of data itmes, each of a given size,
from a buffer to the current position in a file opened for buffered output. The
current position is updated after the write.
Syntax
size_t _fwrite(const void *buffer, size_t size, size_t count, _TFILE
*file_pointer);
Example call
numwrite = _fwrite(buffer, sizeof(char), 80, outfile);
Includes
#include “SDK.h”
Description
The _fwrite function writes count data items, each of size bytes, to the file
specified by the argument file_pointer, starting at the current position. After
the write operation is complete, the current position is updated. The data to
be written is in the buffer whose address is passed to _fwrite in the
argument buffer.
Returns
The _fwrite function returns the number of items it actually wrote.
Seitenansicht 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 129 130

Kommentare zu diesen Handbüchern

Keine Kommentare