Home Page - Summary - Admin - Forums - Tracker - Bugs - Support - Patches - RFE - Lists - Tasks - Docs - News - CVS - Files

 

  ---- libiso2022
  1... IntroductionS
  1.1 Character sets
  1.2 Control Characters
  2... How to build the library
  3... How to use the library
  3.1 The character set base
  3.2 The interpreter
  4.... Bugs
  ---- Donwload

 

The above input function is appropriate for relatively small files
which can be represented as a whole in UCS-4. The method shown in
test.c will return an EOF after each block of bytes, for to stop the
interpreter and regain control. Then, the s->olen characters in
s->obuf can be processed (e.g., displayed using an appropriate font),
the memory in s->obuf be freed and s->olen reset to zero. Obviously,
it's important to have s->olen never greater than the memory allocated
currently for s->obuf. After that, the output function is
reinitialized to return the next block of bytes and the interpreter is
called again.

 

back