4 ms·
> They were Microsoft functions long (6 years?) before they were standardized. And most of what's in ANSI C (the first C standard, before ISO stepped in, from
by derleth 13y ago
> They were Microsoft functions long (6 years?) before they were standardized.
And most of what's in ANSI C (the first C standard, before ISO stepped in, from 1989) was in C compilers before ANSI C existed. I think void and void* were the only things ANSI C really added to the language.
My point is, the C standards body likes to standardize common usage, and 'what a Microsoft compiler does' is pretty close to being common in some parts of the world.
- eliasmacpherson 13y agoThey also 'standardised' threads which were hardly common usage.
- derleth 13y ago> They also 'standardised' threads which were hardly common usage. Didn't the POSIX standard do that, as opposed to the ANSI C standard?
- ygra 13y agoWell, yes, for operating systems that implement POSIX. Which doesn't account for all of them, last I checked.
- eliasmacpherson 13y agoSorry no, I was referring to the C11 multi threading stuff. http://en.cppreference.com/w/c/thread http://en.cppreference.com/w/c/thread They are not exactly the same as POSIX threads which were standardised in 1995.