source code of c/c++ functions

c, c++

Solution

You could check out a copy of glibc, which will have the source code for all C functions in the C standard library. That should be a good starting place.

Problem

I wanted to have a look at the implementation of different C/C++ functions (like strcpy, stcmp, strstr). This will help me in knowing good coding practices in c/c++. Could you let me know where can I find it? Thanks.

Original source