Mail Archives: djgpp/1997/12/11/19:46:20
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 -