EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1019 background imageLoading...
Page #1019 background image
Appendix A: System Routines — Strings
977
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
memcmp
Declaration:
int
memcmp
(const void *
buf1
, const void *
buf2
, size_t
length
)
Category(ies):
Strings, Utilities
Description:
Compares
length
bytes of
buf1
against
buf2
and returns the result of the
compare.
Inputs:
buf1
Pointer to first block to compare.
buf2
Pointer to second block to compare.
length
Number of bytes to compare.
Outputs:
An integer value is returned as follows.
< 0 If
buf1
is less than
buf2
.
= 0 If
buf1
is the same as
buf2
.
> 0 If
buf1
is greater than
buf2
.
Note that the return value is the result of subtracting the first pair of values
that differ in the two blocks being compared based on them being
signed
chars. Compare this to
memucmp
which computes the difference based
on the values being unsigned chars.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: memchr, memucmp, strcmp
Example:
See
memucmp
and
FSetPos
.

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals