This table briefly describes all the ILE C library extensions, listed in
alphabetical order. This table provides the include file name, and the
function prototype for each function.
Function
| System Include file
| Function prototype
| Description
|
_C_Get
_Ssn_Handle
| stdio.h
| _SSN_Handle_T _C_Get_Ssn_Handle (void);
| Returns a handle to the C session for use with DSM APIs.
|
_C_TS
_malloc64
| stdlib.h
| void *_C_TS_malloc64(unsigned long long int);
| Same as _C_TS_malloc, but takes an unsigned long long int so the
user can ask for more than 2 GB of storage on a single request.
|
_C_TS
_malloc_info
| mallocinfo.h
| int _C_TS_malloc_info(struct _C_mallinfo_t *output_record, size_t
sizeofoutput);
| Returns current memory usage information.
|
_C_TS
_malloc_debug
| mallocinfo.h
| int _C_TS_malloc_debug(unsigned int dump_level, unsigned int verify_level,
struct _C_mallinfo_t *output_record, size_t sizeofoutput);
| Returns the same information as _C_TS_malloc_info, plus
produces a spool file of detailed information about the memory structure used
by C_TS_malloc functions.
|
_GetExcData
| signal.h
| void _GetExcData (_INTRPT_Hndlr_Parms_T
*parms);
| Retrieves information about an exception from within a signal
handler.
|
QXXCHGDA
| xxdtaa.h
| void QXXCHGDA(_DTAA_NAME_T dtaname, short int
offset, short int len, char *dtaptr);
| Changes the OS/400 data area specified on dtaname using the data
pointed to by dtaptr.
|
QXXDTOP
| xxcvt.h
| void QXXDTOP(unsigned char *pptr, int digits,
int fraction, double value);
| Converts a double value to a packed decimal value with digits
total digits and fraction fractional digits.
|
QXXDTOZ
| xxcvt.h
| void QXXDTOZ(unsigned char *zptr, int digits,
int fraction, double value);
| Converts a double value to a zoned decimal value with digits
total digits and fraction fractional digits.
|
QXXITOP
| xxcvt.h
| void QXXITOP(unsigned char *pptr, int digits,
int fraction, int value);
| Converts an integer value to a packed decimal value.
|
QXXITOZ
| xxcvt.h
| void QXXITOZ(unsigned char *zptr, int digits,
int fraction, int value);
| Converts an integer value to a zoned decimal value.
|
QXXPTOD
| xxcvt.h
| double QXXPTOD(unsigned char *pptr, int
digits, int fraction );
| Converts a packed decimal number to a double value with digits
total digits and fraction fractional digits.
|
QXXPTOI
| xxcvt.h
| int QXXPTOI(unsigned char *pptr, int digits,
int fraction );
| Converts a packed decimal number to an integer value with digits
total digits and fraction fractional digits.
|
QXXRTVDA
| xxdtaa.h
| void QXXRTVDA(_DTAA_NAME_T dtaname, short int
offset, short int len, char *dtaptr);
| Retrieves a copy of the OS/400 data area specified on
dtaname.
|
QXXZTOD
| xxcvt.h
| double QXXZTOD(unsigned char *zptr, int
digits, int fraction );
| Converts a zoned decimal number to a double value with digits
total digits and fraction fractional digits.
|
QXXZTOI
| xxcvt.h
| int QXXZTOI(unsigned char *zptr, int digits,
int fraction );
| Converts a zoned decimal value to an integer value with digits
total digits and fraction fractional digits.
|
_Racquire
| recio.h
| int _Racquire(_RFILE *fp, char
*dev);
| Prepares a device for record I/O operations.
|
_Rclose
| recio.h
| int _Rclose(_RFILE *fp);
| Closes a file that is opened for record I/O operations.
|
_Rcommit
| recio.h
| int _Rcommit(char *cmtid);
| Completes the current transaction, and establishes a new commitment
boundary.
|
_Rdelete
| recio.h
| _RIOFB_T *_Rdelete(_RFILE
*fp);
| Deletes the currently locked record.
|
_Rdevatr
| xxfdbk.h recio.h
| _XXDEV_ATR_T *_Rdevatr(_RFILE
*fp, char *pgmdev);
| Returns a pointer to a copy of the device attributes feedback area for
the file referenced by fp and the device pgmdev.
|
_Rfeod
| recio.h
| int _Rfeod(_RFILE *fp);
| Forces an end-of-file condition for the file referenced by
fp.
|
_Rfeov
| recio.h
| int _Rfeov(_RFILE *fp);
| Forces an end-of-volume condition for the tape file referenced by
fp.
|
_Rformat
| recio.h
| void Rformat(_RFILE *fp, char
*fmt);
| Sets the record format to fmt for the file referenced by
fp.
|
_Rindara
| recio.h
| void _Rindara (_RFILE *fp, char
*indic_buf);
| Sets up the separate indicator area to be used for subsequent record I/O
operations.
|
_Riofbk
| recio.h xxfdbk.h
| _XXIOFB_T *_Riofbk(_RFILE
*fp);
| Returns a pointer to a copy of the I/O feedback area for the file
referenced by fp.
|
_Rlocate
| recio.h
| _RIOFB_T *_Rlocate(_RFILE *fp,
void *key, int klen_rrn, int
opts);
| Positions to the record in the file associated with fp and
specified by the key, klen_rrn and opt parameters.
|
_Ropen
| recio.h
| _RFILE *_Ropen(const char *filename,
const char *mode ...);
| Opens a file for record I/O operations.
|
_Ropnfbk
| recio.h xxfdbk.h
| _XXOPFB_T *_Ropnfbk(_RFILE
*fp);
| Returns a pointer to a copy of the open feedback area for the file
referenced by fp.
|
_Rpgmdev
| recio.h
| int _Rpgmdev(_RFILE *fp, char
*dev);
| Sets the default program device.
|
_Rreadd
| recio.h
| _RIOFB_T *_Rreadd(_RFILE *fp, void
*buf, size_t size, int opts, long
rrn);
| Reads a record by relative record number.
|
_Rreadf
| recio.h
| _RIOFB_T *_Rreadf(_RFILE *fp, void
*buf, size_t size, int opts);
| Reads the first record.
|
_Rreadindv
| recio.h
| _RIOFB_T *_Rreadindv(_RFILE *fp,
void *buf, size_t size, int opts);
| Reads a record from an invited device.
|
_Rreadk
| recio.h
| _RIOFB_T *_Rreadk(_RFILE *fp, void
*buf, size_t size, int opts, void
*key, int klen);
| Reads a record by key.
|
_Rreadl
| recio.h
| _RIOFB_T *_Rreadl(_RFILE *fp, void
*buf, size_t size, int opts);
| Reads the last record.
|
_Rreadn
| recio.h
| _RIOFB_T *_Rreadn(_RFILE *fp, void
*buf, size_t size, int opts);
| Reads the next record.
|
_Rreadnc
| recio.h
| _RIOFB_T *_Rreadnc(_RFILE *fp,
void *buf, size_t size);
| Reads the next changed record in the subfile.
|
_Rreadp
| recio.h
| _RIOFB_T *_Rreadp(_RFILE *fp, void
*buf, size_t size, int opts);
| Reads the previous record.
|
_Rreads
| recio.h
| _RIOFB_T *_Rreads(_RFILE *fp, void
*buf, size_t size, int opts);
| Reads the same record.
|
_Rrelease
| recio.h
| int _Rrelease(_RFILE *fp, char
*dev);
| Makes the specified device ineligible for record I/O operations.
|
_Rrlslck
| recio.h
| int _Rrlslck(_RFILE *fp);
| Releases the currently locked record.
|
_Rrollbck
| recio.h
| int _Rrollbck(void);
| Reestablishes the last commitment boundary as the current commitment
boundary.
|
_Rupdate
| recio.h
| _RIOFB_T *_Rupdate(_RFILE *fp,
void *buf, size_t size);
| Writes to the record that is currently locked for update.
|
_Rupfb
| recio.h
| _RIOFB_T *_Rupfb(_RFILE *fp);
| Updates the feedback structure with information about the last record I/O
operation.
|
_Rwrite
| recio.h
| _RIOFB_T *_Rwrite(_RFILE *fp, void
*buf, size_t size);
| Writes a record to the end of the file.
|
_Rwrited
| recio.h
| _RIOFB_T *_Rwrited(_RFILE *fp,
void *buf, size_t size, unsigned long
rrn);
| Writes a record by relative record number. It only writes over
deleted records.
|
_Rwriterd
| recio.h
| _RIOFB_T *_Rwriterd(_RFILE *fp,
void *buf, size_t size);
| Reads and writes a record.
|
_Rwrread
| recio.h
| _RIOFB_T *_Rwrread(_RFILE *fp,
void *inbuf, size_t in_buf_size, void
*out_buf, size_t out_buf_size);
| Functions as _Rwriterd, except separate buffers may be specified for
input and output data.
|
__wcsicmp
| wchar.h
| int __wcsicmp(const wchar_t *string1, const wchar_t *string2);
| Compares wide character strings without case sensitivity.
|
__wcsnicmp
| wchar.h
| int __wcsnicmp(const wchar_t *string1, const wchar_t *string2, size_t
count);
| Compares wide character strings without case sensitivity.
|
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.