| Top |
A GvaMameProcess is a type of GvaProcess designed specifically for communicating with a child process running MAME.
GvaProcess * gva_mame_process_new (GPid pid,gint priority,gint standard_input,gint standard_output,gint standard_error);
Creates a new GvaMameProcess from the given parameters. A GSource is
created at the given priority
for each of the file descriptors. The
internal process value is initialized to zero.
GvaProcess * gva_mame_process_spawn (const gchar *arguments,gint priority,GError **error);
Spawns a child process running MAME with arguments
. The resulting
GvaProcess instance will monitor the child process for error messages.
If an error occurs while spawning, the function returns NULL and sets
error
.