mailing list of musl libc
 help / color / mirror / code / Atom feed
* Enforcing expected ordering of operations on stdout, stdin, and stderr
@ 2016-02-10 21:49 Max Ruttenberg
  2016-02-10 22:05 ` Joakim Sindholt
  0 siblings, 1 reply; 6+ messages in thread
From: Max Ruttenberg @ 2016-02-10 21:49 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

All,

I guess my question is more easily asked through an example. If I have code
that makes a call to puts and then a call to getchar, what mechanism
enforces that stdout gets flushed before blocking for stdin? Is there a
such a mechanism? My gut says yes but I haven't been able to pinpoint it.

Thanks,
Max

[-- Attachment #2: Type: text/html, Size: 409 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-11  1:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 21:49 Enforcing expected ordering of operations on stdout, stdin, and stderr Max Ruttenberg
2016-02-10 22:05 ` Joakim Sindholt
2016-02-10 23:08   ` Max Ruttenberg
2016-02-10 23:22     ` Szabolcs Nagy
2016-02-10 23:39     ` Rich Felker
2016-02-11  1:17       ` Max Ruttenberg

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).