C-Library File IO Routines

The PxPlus C-Library interface enables PxPlus Keyed, Indexed and EFF files to be accessed by programs written in 'C' and other programming languages. It consists of the following file IO functions:

Function

Description

PVGetEnvMode( )

Get Environment Variables

PVK_AllocEnv( )

Allocate Environment

PVK_close( )

File Close

PVK_DeAllocEnv( )

De-allocate Environment

PVK_deffh( )

Pointer to Internal Structure Block

PVK_dict( )

Read Dictionary

PVK_geterrno( )

Return Last Error Status

PVK_getpos( )

Get Address/Position Within File

PVK_insert( )

Write a New Record

PVK_OpenExt( )

Extended File Open

PVK_read( )

Read a Record from a File

PVK_RegisterKey( )

Register Usage of Library

PVK_remove( )

Remove a Record

PVK_seek( )

Position Within Keyed/Indexed File

PVK_setpos( )

Set Address/Position of File

PVK_strerr( )

Return Last Error Message

PVK_update( )

Update an Existing Record

PVK_write( )

Write/Rewrite a Record

PVSetEnvMode( )

Set Environment Variables

In addition to the above functions, two 'C' header files are provided:

 

PVKIO.H

Contains file structures and function prototypes

 

SYBEX.H

Contains computer word size definitions and macros

Environments Provided

These functions have been pre-compiled for the 32-bit and 64-bit Windows environment.

Registration

Use and distribution of this package is prohibited without first obtaining an authorized registration key. A warning message to this effect is presented whenever a file is opened unless the application first invokes the PVK_RegisterKey( ) function with a valid registration string and registration number.

Distribution of the PXPIO routines is restricted to only those companies that apply for and receive a registration string and number directly from PVX Plus Technologies Ltd.