Return to oxpipe.c CVS log | Up to [local] / OpenXM / src / util |
1.1 ! takayama 1: /* $OpenXM$ */ ! 2: #include <stdio.h> ! 3: ! 4: main(int argc,char *argv[]) { ! 5: dup2(0,3); ! 6: dup2(1,4); ! 7: dup2(2,0); ! 8: dup2(2,1); ! 9: ! 10: if (argc < 2) { ! 11: fprintf(stderr,"oxpipe servername\n"); ! 12: } ! 13: ! 14: execl(argv[1],argv[1],NULL); ! 15: }