💾 Archived View for thrig.me › tech › mixbuf.c captured on 2023-04-19 at 23:29:36.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

🚧 View Differences

-=-=-=-=-=-=-

// mixbuf - mix buffered and unbuffered calls (bad)

#include <stdio.h>
#include <unistd.h>

int
main(void)
{
	puts("duck");
	puts("duck");
	write(1, "goose\n", 6);
	return 0;
}