PIO(3)

PACKAGE
pio - Routines to convert and transfer host data to channel objects

PURPOSE
These routines are meant to provide a high level means of converting C data types to the "network" data format (ie. big endian, IEEE 754). These routines transfer data between host memory and files/ connections. These routines are NOT recommended as a means to transfer the recursive, heirarchical data structure supported in Karma, use the <-dsxfr-> routines instead.

LIBRARY
karma

LINK WITH
-lkarma

FUNCTIONS

pio_write64
    Write a 64 bit integer to a channel object.

pio_read64
    Read a 64 bit integer from a channel object.

pio_le_read64
    Read a 64 bit little-endian integer from a channel object.

pio_write32
    Write a 32 bit integer to a channel object.

pio_read32
    Read a 32 bit integer from a channel object.

pio_le_read32
    Read a 32 bit little-endian integer from a channel object.

pio_write16
    Write a 16 bit integer to a channel object.

pio_read16
    Read a 16 bit integer from a channel object.

pio_le_read16
    Read a 16 bit little-endian integer from a channel object.

pio_write_float
    Write a floating point number to a channel object.

pio_write_float_trap
    Write a floating point data to a channel object, trapping blanks.

pio_read_float
    Read a floating point number from a channel object.

pio_le_read_float
    Read a little-endian floating point number from a channel object.

pio_read_float_nantrap
    Read floating point data from a channel object, trapping NaNs.

pio_read_floats
    Read floating point data from a channel object, trapping NaNs.

pio_le_read_floats
    Read floating point data from a channel object, trapping NaNs.

pio_write_double
    Write double precision floating point data to a channel object.

pio_write_double_trap
    Write double precision floating point data to a channel object.

pio_read_double
    Read double precision floating point data from a channel object.

pio_le_read_double
    Read double precision floating point data from a channel object.

pio_read_double_nantrap
    Read floating point data from a channel object, trapping NaNs.

pio_read_doubles
    Read double float data from a channel object, trapping NaNs.

pio_le_read_doubles
    Read double float data from a channel object, trapping NaNs.

pio_write32s
    Write a 32 bit signed integer to a channel object.

pio_read32s
    Read a 32 bit signed integer from a channel object.

pio_le_read32s
    Read a 32 bit little-endian signed integer from a channel object.

pio_write16s
    Write a 16 bit signed integer to a channel object.

pio_read16s
    Read a 16 bit signed integer from a channel object.

pio_le_read16s
    Read a 16 bit little-endian signed integer from a channel object.

pio_write_swap
    Swap and write bytes to a channel object.

pio_read_swap
    Read from a channel object and swap bytes.

pio_write_string
    Write a string to a channel object.

pio_read_string
    Read a string from a channel object.

AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)

AVAILABLITY
The Karma Distribution is available for anonymous ftp from: ftp://ftp.atnf.csiro.au/pub/software/karma/ ftp://wuarchive.wustl.edu/graphics/graphics/packages/karma/ ftp://ftp.pwr.wroc.pl/pub/karma/ The Karma Home Page is: http://www.atnf.csiro.au/karma/