init_dataman



Summary

#include <dataman/dataman.h>

init_dataman(argc,argv);

int argc;
char **argv;

Description

This procedure will initialize a DATAMAN file edit process. It is the first routine called in a file edit program. The arguments to init_dataman (argc and argv) are the arguments to main(). It also defines the usage of file edit programs as: prog_name work_file where work_file is the name of the file to run the program against.

Example

    #include <dataman/dataman.h>

    main(int argc,char *argv[])
    {

        init_dataman(argc,argv);    /* initialize process */
          ...                       /* do processing */
    }

«previous  next»