
20
6. General Library
Table 6-1 General Functions list
Function Description
Memory Allocation and Management
Tfree
Use
the
Tfree
to release an allocated storage block to the
pool of free memory.
Tmalloc
Use
Tmalloc
to allocate memory for an array of a given
number of bytes, not exceeding 200KB.
Data Conversion
Routines
__itoa
Use
__itoa
to convert an integer value to a null-terminated
character string.
__ltoa
Use
__ltoa
to convert a long integer value to a
null-terminated character string.
__ultoa
Use
__ultoa
to convert an unsigned long integer value to a
character string.
Searching and Sorting
SearchRowOfLookupFile
Use
SearchRowOfLookupFile
to search the data matching
to index field in the index files.
Time Function
GetDateTimeFormat
Use
GetDateTimeFormat
to get different format of date
and time from RTC.
GetRTCDate
Use
GetRTCDate
to get Date of RTC.
GetRTCHour
Use
GetRTCHour
to get Hour of RTC.
GetRTCMinute
Use
GetRTCMinute
to get Minitue of RTC.
GetRTCMonth
Use
GetRTCMonth
to get Month of RTC.
GetRTCSecond
Use
GetRTCSecond
to get Second of RTC.
GetRTCYear
Use
GetRTCYear
to get Year of RTC.
SetDisplayDateTime
Use
SetDisplayDate
Time to setup and show Date and Time
on the bottom of display.
File Manipulation
_fclose
Use
_fclose
to close a file opened earlier for buffered
input/output using
_fopen
.
_fcloseAll
Use
_fcloseAll
to close all files opened for buffered
input/output with
_fopen
or
tmpfile
.
_filelength
Use
_filelength
to dertimine the length of a file in bytes.
_fopen
Use
_fopen
to open a file for buffered input/output
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...