FAQ
Aha moment:

In C, printf, fprintf functions write to a FILE *stream, and "stdout" is a
"stream", not a file.

In Go, fmt.Print, fmt.Fprintf functions write directly to a file, not a
Writer (equivalent to a C "stream").

It is just that the "stdout" word means different things in C and Go ...

Thank you for the explanation ;-)))

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 5 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedAug 12, '15 at 5:21p
activeAug 12, '15 at 5:59p
posts5
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase