@vftdan Well, then you'll have syscalls that can fail with ESQUIRREL.
@malwareminigun @typeswitch @thephd The beloved `dwFlags` parameter. These two gems on that page, are just 😗:
The function performs more quickly when none of these flags is set.
If all three values are not provided, some results will be missing.
@malwareminigun @smurthys @typeswitch @thephd the win32 is pretty great, the size of it all means it contains just about every API design issue one can think of, now, in hindsight 😀
I do actually like it overall though
@Ollie @typeswitch yea, this breaks static aliasing pretty badly - it’s undefined behavior. instead what you’re allowed to do is cast to char / unsigned char or simply memcpy it (recommended here):
uint32_t output;
memcpy(&output, &input_float, sizeof(input_float));
return output;
into
depending on the user locale. ARGUMENTS. src and dest pointers must be distinct; it is undefined behavior if they are not QPU-aligned. RETURN VALUE. Returns the number of
converted. A zero value indicates failure, or that zero
were converted. A negative value indicates that the final
was only partially converted (function got tired). Check this global variable to find out why."

@typeswitch Thread safety: async-signal-dangerous.
If you're writing a library, forget about using this, there's no way to coordinate with the other potential callers.