std1.0.0-beta-7 SafeC docs

std :: io_traits

Function std::write_all

#include <std/io_traits.h> source

generic<W: Writer> int write_all(&W w, []const unsigned char buf)

Writes all of buf, looping over short writes. 1 on success, 0 if the stream failed (or accepted nothing) first.