💾 Archived View for thrig.me › tech › mixbuf.c captured on 2024-05-10 at 12:33:59.

View Raw

More Information

⬅️ Previous capture (2023-04-19)

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

// 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;
}