Re: [NEWBIE] [CODE] [MULTIPLAYING]

From: Brian (brian@imi-bottling.com)
Date: 01/14/99


> -----Original Message-----
> From: Circle Discussion List
> [mailto:CIRCLE@post.queensu.ca]On Behalf Of
> Edoardo Spelta
> Sent: Thursday, January 14, 1999 12:49 PM
> To: CIRCLE@post.queensu.ca
> Subject: Re:  [NEWBIE] [CODE] [MULTIPLAYING]
> > sprintf(buf2, "New connection from [%s]", newd->host);
> >           log("Starting check of descriptor list");
> > for (d = descriptor_list; d; d = d->next)
> >           if(str_cmp(d->host, newd->host) != 0){
>
> Maybe i'm going to say something terribly stupid..but what is
> str_cmp ?
> There is no ref in the man pages about this funct, i have used it once
> because i mistyped 'strcmp' and the compiler didn't complain about it,
> but nothing worked then...


String Compare.  Compare two strings of text/characters.  strcmp is case
sensitive, and str_cmp is case insensitive.  Everyone else, please correct
me if I'm wrong.

 - brian


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST