term-ansi-make-term

term-ansi-make-term is a compiled Lisp function in `term.el'.

(term-ansi-make-term NAME PROGRAM &optional STARTFILE &rest SWITCHES)

Make a term process NAME in a buffer, running PROGRAM.
The name of the buffer is NAME.
If there is already a running process in that buffer, it is not restarted.
Optional third arg STARTFILE is the name of a file to send the contents of to
the process. Any more args are arguments to PROGRAM.