delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/26/09:20:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 26 Jul 2005 09:19:37 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Eric Blake <ebb9 AT byu DOT net>
cc: James McLaughlin <zerotype AT yahoo DOT com>, cygwin AT cygwin DOT com
Subject: Re: gcc-core and g++ source
In-Reply-To: <42E62B36.4000506@byu.net>
Message-ID: <Pine.GSO.4.61.0507260917040.4962@slinky.cs.nyu.edu>
References: <20050726114441 DOT 60159 DOT qmail AT web31702 DOT mail DOT mud DOT yahoo DOT com> <42E62B36 DOT 4000506 AT byu DOT net>
MIME-Version: 1.0

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/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019