string.h

strupr() and strlwr() in string.h part are of the ANSI standard?

怎甘沉沦 提交于 2019-11-26 09:14:12
问题 I was looking for this on internet and in every place with the functions of string.h these two are not mentioned. Is because what? They aren\'t in every compiler? 回答1: They are non-standard functions from Microsoft's C library. MS has since deprecated them in favor of renamed funcitons _strlwr() and _strupr() : strlwr() doc strupr() doc Note that the MS docs claim they are POSIX functions, but as far as I can tell they never have been. If you need to use them on a non-MS toolchain, they're