To make it implementation-defined, you'd be mandating that the compiler has to handle this case, which can't be done portably in C.
If your assumption is POSIX||Windows, yes, assuming text files are either same as binary or just do silly \r\n stuff is fine.
-
-
I'll handle violations of this assumption with the same priority that I handle non-two's-complement
-
Or non-divisible by 8 CHAR_BIT
-
I'm still waiting for that new 9-bit char CPU w/ a C compiler, just because it would be twisted and hilarious!
-
https://blog.legitbs.net/2017/10/clemency-showing-mercy.html … -- bugs esp. fun part: "determining if the emulator, disassembler, assembler, linker, or compiler was the culprit."
-
Yes I know about Clemency... doesn't have a C compiler I don't think? Which is the component required for maximum hilarity as all >>
-
the world's C software falls apart b/c you added a single bit :D!
-
No, rather it's got an unsatisfiable constraint that precludes doing anything useful.
-
On the one hand, binary read/write have to be data preserving round-trip (full 9 bits)...
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.