Re: [linux-audio-dev] [OT] does anyone know what stricmp() does ?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] [OT] does anyone know what stricmp() does ?
From: Erik Steffl (esteffl_AT_pbi.net)
Date: Thu Mar 30 2000 - 02:30:05 EEST


  sorry, I got it backwards, here's what man page on solaris actually
says:

strcasecmp() and strncasecmp() are case-insensitive versions
of strcmp() and strncmp() respectively, described below.

        erik

Audin Malmin wrote:
>
> On Wed, Mar 29, 2000 at 02:17:26PM -0800, Erik Steffl wrote:
> > I think those are function comparing strings that ignore case... (seem
> > to remember that from borland docs).
> >
> > man on solaris (gcc) says: strcmp (ignores case) and strcasecmp (case
> > sensitive comparison)... I gues stricmp is dos/windows 'extension' (or
> > older standard?).
>
> Did you get those backwards or are the Linux (GNU, maybe?) man pages
> wrong?
>
> [amalmin_AT_skaro amalmin]$ man strcasecmp
>
> STRCASECMP(3) Linux Programmer's Manual STRCASECMP(3)
>
> NAME
> strcasecmp, strncasecmp - compare two strings ignoring case
>
> [amalmin_AT_skaro amalmin]$ man strcmp
>
> STRCMP(3) Linux Programmer's Manual STRCMP(3)
>
> NAME
> strcmp, strncmp - compare two strings
>
> --
> Audin Malmin - amalmin_AT_halcyon.com
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Mar 30 2000 - 16:14:59 EEST