Does someone know the rules for the C POSIX library? I mean what headers, routines are always availables for C/C++ compilers?
For example <dirent.h> is a POSIX header but is not present in Visual C++ 2005. Another example is stricmp() for which Visual C++ 2005 complains about deprecation(it says you should use _stricmp() instead).
The C POSIX world seems a mess to me, maybe it's not, so if some one can provide URLs on this subject, or clarify problems, it would be great.
PS : I have to adapt code to make portable across compilers and plat-forms. Some parts use functions from POSIX headers, but should I rely on them?
--
Globos
For example <dirent.h> is a POSIX header but is not present in Visual C++ 2005. Another example is stricmp() for which Visual C++ 2005 complains about deprecation(it says you should use _stricmp() instead).
The C POSIX world seems a mess to me, maybe it's not, so if some one can provide URLs on this subject, or clarify problems, it would be great.
PS : I have to adapt code to make portable across compilers and plat-forms. Some parts use functions from POSIX headers, but should I rely on them?
--
Globos