packages icon



 libtamil(3)                     Version 0.5                     libtamil(3)
                                 3 Sep 1993



 NAME
      libtamil - a Tamil library of functions for X windows

 SYNOPSIS
      #include <tamil.h>
      void fp_madurai2tamil (ifp, ofp)
      FILE* ifp;
      FILE* ofp;
      void fn_madurai2tamil (ifile, ofile)
      char* ifile;
      char* ofile;
      int buf_madurai2tamil (buf, sz, op)
      unsigned char* buf;
      int sz;
      FILE* op;
      String str_madurai2tamil (string, can_delete)
      String string;
      int can_delete;
      void fp_tamil2madurai (ifp, ofp)
      FILE* ifp;
      FILE* ofp;
      void fn_tamil2madurai (ifile, ofile)
      char* ifile;
      char* ofile;
      int buf_tamil2madurai (buf, sz, op)
      unsigned char* buf;
      int sz;
      FILE* op;
      String str_tamil2madurai (string, can_delete)
      String string;
      int can_delete;
      void fp_tamil2ps (ifp, ofp)
      FILE* ifp;
      FILE* ofp;

 DESCRIPTION
      The functions in libtamil can be used to convert an Xaw ASCII
      application into a Tamil application.  fp_madurai2tamil() converts any
      transliterated Madurai English between the Madurai delimiters \bt and
      \et in the input file pointer to by the file pointer ifp to Tamil
      characters and saves the entire translated file in the output file
      pointer to by the file pointer ofp. If ifp is 0, then stdin is
      assumed. Similarly, if ofp is 0, then stdout is assumed.
      fn_madurai2tamil() converts any transliterated Madurai English between
      the Madurai delimiters \bt and \et in the input file ifile to Tamil
      characters and saves the entire translated file in the output file
      ofile. If ifile is 0, then stdin is assumed. Similarly, if ofile is 0,
      then stdout is assumed.  buf_madurai2tamil() converts any
      transliterated Madurai English between the Madurai delimiters \bt and
      \et in the sz characters in buf to Tamil characters and saves the
      entire translated string in the file pointed to by the file pointer



                                    - 1 -      Formatted:  November 14, 2024






 libtamil(3)                     Version 0.5                     libtamil(3)
                                 3 Sep 1993



      op. If op is 0, then stdout is assumed. It is an error for buf to be 0
      and sz to be less than 0. It returns 0, if the translation is a
      success else it returns -1.  str_madurai2tamil() converts any
      transliterated Madurai English between the Madurai delimiters \bt and
      \et in string and returns the new translated string. If can_delete is
      not 0, then input string is freed using XtFree(). fp_tamil2madurai()
      converts the Tamil characters in the input file pointer to by the file
      pointer ifp to Madurai transliterated English and saves the translated
      file in the output file pointer to by the file pointer ofp. If ifp is
      0, then stdin is assumed. Similarly, if ofp is 0, then stdout is
      assumed.  fn_tamil2madurai() converts the Tamil characters in the
      input file ifile to Madurai transliterated English and saves the
      translated file in the output file ofile. If ifile is 0, then stdin is
      assumed. Similarly, if ofile is 0, then stdout is assumed.
      buf_tamil2madurai() converts the Tamil characters in the sz characters
      in buf to Madurai transliterated English and saves the entire
      translated string in the file pointed to by the file pointer op. If op
      is 0, then stdout is assumed. It is an error for buf to be 0 and sz to
      be less than 0. It returns 0, if the translation is a success else it
      returns -1.  str_tamil2madurai() converts the Tamil characters in
      string into Madurai transliterated English and returns the new
      translated string. If can_delete is not 0, then input string is freed
      using XtFree(). fp_tamil2ps() converts the input file pointed to by
      the file pointer ifp to PostScript and saves the PostScript in the
      output file pointed to by the file pointer ofp. If ifp or ofp are 0,
      then it does nothing.

 SEE ALSO
      (none)

 COPYRIGHT
      (C) 1993 Gnanasekaran Swaminathan

      Permission is granted to distribute libtamil in source and binary
      forms at your own risk as long as the above copyright notice and this
      permission notice are also included in your distribution.

      Copyright of AsciiSrc.c is governed by the Copyright and the
      Permission Notice given there.

 ACKNOWLEDGEMENT
      Madurai transliteration scheme was invented by Bala Swaminathan
      <bala@wucs1.wustl.edu> AsciiSrc.c is taken from X11R5 distribution. It
      was written by Chris Peterson of MIT X Consortium.  Following people
      reported bugs in libtamil and thus, helped improve the library:
           Badrinarayanan Seshadri <badri@sofia.tn.cornell.edu>
           Ravi Sundaram <sundaram@me.uta.edu>
           S Kesavan <kesavans@skinner.cs.uoregon.edu>
      PostScript is a registered trade mark of Adobe Systems, Inc.





                                    - 2 -      Formatted:  November 14, 2024






 libtamil(3)                     Version 0.5                     libtamil(3)
                                 3 Sep 1993



 BUG REPORTS
      Send all the bug reports to the author Gnanasekaran Swaminathan
      <gs4t@virginia.edu>.



















































                                    - 3 -      Formatted:  November 14, 2024