On Tue, 26 Jul 2005, Eric Blake wrote: > According to James McLaughlin on 7/26/2005 5:44 AM: > > I've been wondering about why functions such as strcpy > > return char*, instead of being void, so I thought I'd > > look at the source for this function and see if there > > were any informative comments. However, while I've got > > the g++ and gcc-core source, I can't find the source > > for the standard <string.h> functions - can anyone > > tell me which file to look in? > > gcc does not provide it; look at newlib/libc/string/strcpy.c instead (I > look at newlib CVS, so I'm not sure which package in setup.exe provides > the newlib source snapshot used for the current build).
<http://cygwin.com/cgi-bin2/package-grep.cgi?grep=%2Fstrcpy.c>. ];-> > > In fact, is there any sort of document detailing where to find the > > source for the functions defined in , say, header <?.h>? (organised by > > header)? If not, are there any plans to include such a document in the > > Cygwin docs? > > Only if someone (how about you?) volunteers to write them. But the package search page (at <http://cygwin.com/packages/>) should help somewhat. :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/