EasyManuals Logo

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 #607 background imageLoading...
Page #607 background image
Appendix A: System Routines — Files
565
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
FGetPos
Declaration:
FSWORD
FGetPos
(FILES *
fsPtr
)
Category(ies):
Files
Description:
Return the current file position (where the next read or write would occur)
for a FILE.
Inputs:
fsPtr
Pointer to FILES structure previously opened with
FOpen
.
Outputs:
Current file position.
Assumptions:
The FILES structure pointed to by
fsPtr
must have been previously opened
with
FOpen
.
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: FOpen, FSetPos, FEof
Example:
FILES f1;
FSWORD fPos;
static char FTYPE2 = "DAT";
if (FS_OK == FOpen( "f3", &f1, FM_WRITE, FTYPE2 )) {
FWrite( "abc", 3, &f1 );
x = FGetPos( &f1 ); /* x should have value of 3 */
}

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