strcmp.3

foundation2_fluffos_v1/lib/doc/driver/efuns/strings/strcmp.3 · 699 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"determines the lexical relationship between two strings.
.TH strcmp 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
strcmp() - determines the lexical relationship between two strings.

.SH SYNOPSIS
int strcmp( string one, string two );

.SH DESCRIPTION
This implementatin of strcmp() is identical to the one found in C libraries.
If string one lexically precedes string two, then strcmp() returns a number
less than 0.  If the two strings have the same value, strcmp() returns 0.
If string two lexically precedes string one, then strcmp() returns a number
greater than 0.  This efunction is particularly useful in the compare
functions needed by sort_array(3).

.SH SEE ALSO
sort_array(3)

Site Stats

Snippets: 1791
Codebases: 571