Data Formatting
It is the user's responsibility to provide text buffers for read and write operations. All data written or read must be in ASCII format. Records need not be zero terminated (C-style) since all functions require a length parameter. All text records written by Sunaccess are terminated by a CR/LF (MS-DOS) or LF (Linux). Text records created by the user through other means must conform to the same standards as those written by Sunaccess.
Formatting of buffers into data types is the user's responsibility. From the Sunaccess point of view, reads and writes are simple text strings. Mixing of binary data that might contain ASCII control characters is not allowed. Other than this assumption of text strings, Sunaccess has no knowledge of data content.
![]() |