TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Paul Edwards
date: 1996-05-20 16:18:22
subject: strwildcmp :)

FA> Talking about strcmp() i have noticed something that nobody mentioned,
FA> it actually returns the ascii code of the character it fails on in str1, 
FA> and negates it if *str2 > *str1. 

No, that's what YOUR implementation of strcmp() happens to do,
what strcmp() does is just return 0, negative or positive.  From
memory, PDPCLIB returns the subtraction of the two elements
being compared.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.