[En-Nut-Discussion] USART DEFAULT COOKEDMODE

Dusan Ferbas dferbas at dfsoft.cz
Sat May 29 22:58:17 CEST 2004


Hi guys,

who do not like cooked mode by default.

I think that if you want to have full control of every byte it is not a big 
deal to add 1 byte 'b' into fopen statement.

Just my opinion.

>Hi Harald,
>I prefer to use \r\n as I'm in control of every byte (and know the number of
>bytes) but that's just a humble low level embedded programmers point of view
>:-). I do appreciate the need to be compatible with main stream programming
>and I'm happy to live with whatever is agreed.
>
>Part of my "fear" of cooking comes from once spending days on an issue where
>the problem was that puts appends a \n and fputs does not.


Dusan Ferbas
www.dfsoft.cz 




More information about the En-Nut-Discussion mailing list