Synopsis

size_t saff_EncodeString(char * instring, FILE *outfile)

Purpose

Write a string to the output file without doing language decoding

Description

Given a input string, perform a double apostrophe check and a double reverse solidus check and then write the string to the outfile.

This is the default language handling mechanism for the STEP formatter. See saff_RegisterEncoder().

This function is called by the saff_FormatFile function.

Input

instring

the input string to print out

outfile

File descriptor to write the string to

Return

The number of bytes/characters which were written out.