c++ - Where can I find the implementation of strncpy() function in GCC source code? -


i have download source code of gcc, using command:

svn checkout svn://gcc.gnu.org/svn/gcc/trunk somelocaldir 

who can tell me can find implementation of standard library function strncpy()?

thank you.

gcc doesn't contain source of strncpy, gcc contains compiler code , not standard library code.

you want source gnu libc (glibc):

this link current trunk implementation of strncpy.c in glibc.

http://sourceware.org/git/?p=glibc.git;a=blob;f=string/strncpy.c;h=f6ee27832da95d9da9aef8a6fcf73f53f997c796;hb=head


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -