[OpenWrt-Devel] stdout and putchar() behavior in musl

Alexander Dahl post at lespocky.de
Wed Mar 30 07:38:27 EDT 2016

Hei hei,

Am 2016-03-30 13:07, schrieb Ram Chandra Jangir:
> When I use uClibc/gcc, I can see writing c+1 from putchar() happening
> immediately. But when I use musl, character(c+1) gets printed on console
> only if I exit from the program by entering 'e'. 

Maybe it's (line) buffered. What happens if you enter newlines?


»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6 ***
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list