Mono Class Library: Mono.Unix.Native.Stdlib Overview | MembersMono.Unix.Native.Stdlib.fwrite Method |
Write to a binary FILE stream. [Edit]
|
The function fwrite() advance the file position indicator for the stream by the number of bytes written. It returns the number of objects written. If an error occurs, or the end-of-file is reached, the return value is a short object count (or zero).
The function fwrite() returns a value less than nmemb only if a write error has occurred.
[Edit]
The function fwrite() writes ptr.Length bytes to the stream pointed to by stream, obtaining them from the location given by ptr. [Edit]
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0