Sometimes I need to write a low level multiplatform C/C++ code so preprocessor environment macroses come in handy. But is there some method or a single internet resource or a place in man where I can easily find a standard where a particular Unix API was first introduced to use a particular macro definition in my code allowing the usage of that API?
Sometimes I need to write a low level multiplatform C/C++ code so preprocessor environment
Share
Man is your friend. My linux distribution has all POSIX definitions as man pages. E.g
gives me the POSIX definition, whereas
gives me the linux specific version.
To search for all POSIX stuff my strategy is to enter
in my prefered search engine.
For ISO C you find the standards easily online (well oficially these are drafts). The current C standard, C11, is n1570.pdf, you should find it through that.