The return values for as well as the arguments for strcmp() are defined by 
the ANSI  and ISO specifications. 
On 5 Apr 2000, at 13:45, Jon 'maddog' Hall, Executive Director, Li wrote:

> >I can only guess at the reason(s) for the omission...
> 
> I seem to remember (eons ago) that BSD and Sys 3 had different return values
> for non-equal strings.
> 
> Sys 3.0 had one set of return values, with "zero" as "equal"
> 
> BSD had another set of return values, with "zero" as "equal"
> 
> This may be the answer why the book was not as definite as the man pages
> for your particular system.
> 
> md
> -- 
> =============================================================================
> Jon "maddog" Hall
> Executive Director, Linux(R) Intern'l    Director of Linux Evangelism         
> 
> Linux International                      VA Linux Systems                         
> 80 Amherst St.                           1382 Bordeaux Ave.
> Amherst, N.H. 03031-3032 U.S.A.          Sunnyvale, CA 94089
> Internet: [EMAIL PROTECTED]                  [EMAIL PROTECTED]
> WWW: http://www.li.org                   WWW: http://www.valinux.com              
> Voice: +1.603.672.4557
> 
> Board Member: Uniforum Association, USENIX Association
> 
> (R)Linux is a registered trademark of Linus Torvalds in several countries.
> 
> 
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************


Jerry Feldman <[EMAIL PROTECTED]>
Associate Director
Boston Linux and Unix user group
http://www.blu.org

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************
  • strcmp() Jerry Eckert
    • Re: strcmp... Farrell Woods
      • Re: st... Jon 'maddog' Hall, Executive Director, Linux International
        • Re... Jerry Feldman
          • ... Jon 'maddog' Hall, Executive Director, Linux International
            • ... Jerry Feldman
              • ... Jon 'maddog' Hall, Executive Director, Linux International
                • ... Jerry Feldman
      • Re: st... Derek Martin

Reply via email to