TIL POSIX puts a requirement on perror not to change the orientation of stderr, which seems to conflict with ISO C. http://stackoverflow.com/questions/39950678/why-perror-changes-orientation-of-stream-when-it-is-redirected …
Neither of those contradict. Impls that conform to POSIX are a subset of impls that conform to C.
-
-
All those requirements say are that wacky DSP or theoretical implementations of C can't be implementations of POSIX.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
First one yes, but isn't casting fcn ptr to void UB in ANSI C? Or did they change it by C11?
-
It's undefined by omission (look in 6.3.2.3); thus, a more specific standard is able to define it however it wants.
End of conversation
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.