From bcd5c2f64a834df21c571aac22ab30c88e01c1a7 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 10 Aug 2015 10:00:57 +0200 Subject: [PATCH] examples: make sure stdout is flushed Change-Id: I95af7f5d5452a42b082d2226462ca946049c2a08 --- _examples/cpkg/cpkg.go | 1 + 1 file changed, 1 insertion(+) diff --git a/_examples/cpkg/cpkg.go b/_examples/cpkg/cpkg.go index 98e8fe7..4c973f9 100644 --- a/_examples/cpkg/cpkg.go +++ b/_examples/cpkg/cpkg.go @@ -9,6 +9,7 @@ package cpkg //#include //void cpkg_printf(const char *str) { // fprintf(stdout, str); +// fflush(stdout); //} import "C"