fwrite

Writes data to the stream.

extern (C) nothrow @nogc extern
size_t
fwrite
(
const(void)* ptr
,
size_t size
,
size_t count
,)

Parameters

ptr const(void)*

The buffer to write to.

size size_t

Size of a single unit of data in bytes

count size_t

The amount of units to write to the file.

stream FILE*

The stream to write to.

Return Value

Type: size_t

The amount of elements written.

Meta