Article 164518 of comp.os.vms:
The simpliest interface is tpu$edit().  

I found this laying around - maybe it compiled, maybe it didn't...

/*  Sample C program that calls VAXTPU.  This program uses TPU$EDIT to
  provide the names of the input and output files
*/
#include <descrip.h>
#include <stdio.h>
int return_status;
static $DESCRIPTOR (input_file, "infile.dat");
static $DESCRIPTOR (output_file, "outfile.dat");

int main (int argc, char *argv[])
{
/*      Call TPU to edit text in "infile.dat" and write the result to
       "outfile.dat".  Return the condition code from TPU as the
     status of this program.
*/

      return_status = TPU$EDIT (&input_file, &output_file);
/*    printf ("status=%d\r\n", return_status);*/

    exit (return_status);
}
-- 
----------------------------------------------------------------------
Brian J. McCarthy                 | mailto:mccarthy@hndymn.zko.dec.com
Digital Equipment Corp. Nashua, NH| DEC CRTL/DEC C++ Class Libraries
----------------------------------------------------------------------


