剖析源码中如何做
Nginx源码中转换字符大小写
1 | /* |
Redis源码中转换字符大小写
1 | /* Apply tolower() to every character of the sds string 's'. */ |
PHP源码中转换字符大小写 (strtolower,strtoupper函数具体实现)
1 | PHPAPI char *php_strtolower(char *s, size_t len) |
我们风华正茂,还有诗和远方。
剖析源码中如何做
1 | /* |
1 | /* Apply tolower() to every character of the sds string 's'. */ |
1 | PHPAPI char *php_strtolower(char *s, size_t len) |