OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1ksim/] [peripheral/] [channels/] [xterm.c] - Diff between revs 19 and 82

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 19 Rev 82
Line 247... Line 247...
          sprintf (arg, "-S%c%c%d", fin[0], fin[1], master);
          sprintf (arg, "-S%c%c%d", fin[0], fin[1], master);
        }
        }
      xt->argv[0] = "xterm";
      xt->argv[0] = "xterm";
      xt->argv[1] = arg;
      xt->argv[1] = arg;
      execvp ("xterm", xt->argv);
      execvp ("xterm", xt->argv);
      write (master, "\n", 1);
      if (write (master, "\n", 1) < 0)   /* Don't ignore result */
 
        {
 
          printf ("ERROR: xterm: write failed\n");
 
        }
      exit (1);
      exit (1);
    }
    }
 
 
  do
  do
    retval = read (xt->fds.fdin, &arg, 1);
    retval = read (xt->fds.fdin, &arg, 1);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.