From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: strspn Date: Thu, 11 Dec 1997 19:26:30 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 18 Message-ID: <34903E66.44DB@cs.com> References: <34903DF4 DOT 6978 AT nortel DOT ca> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp203.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ian Chapman wrote: > > Hi, > I tried to use the function strspn. I followed the example in libc.inf > and I got a warning implict declaration of function from the compiler. > The loader reported undefined ref. Is it in the libxxx.a? I just ran a test program and examined the docs, and strspn() works fine. If you look closely at the example in the docs, there's a typo: strspn is misspelled as "strcspn". -- --------------------------------------------------------------------- | John M. Aldrich | "Money is truthful. If a man speaks | | aka Fighteer I | of his honor, make him pay cash." | | mailto:fighteer AT cs DOT com | | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------