💾 Archived View for thrig.me › tech › mixbuf.c captured on 2024-08-18 at 21:15:08.

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