delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/11/19:46:20

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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         |
---------------------------------------------------------------------

- Raw text -


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