FILE* controlador, snes; char input; controlador = fopen("/dev/rfcomm0", "rb"); snes = fopen("/dev/snes9x", "rb""a"); while(controlador) { input = fgetc(fpcontrolador); if(snes) fputc(input, snes); }
FILE* controlador, snes; char input; controlador = fopen("/dev/rfcomm0", "rb"); snes = fopen("/dev/snes9x", "rb"); while(controlador) { input = fgetc(fp); if(snes) fputc(input, snes); }
FILE* controlador, snes; char input; controlador = fopen("/dev/rfcomm0", "rb"); snes = fopen("/dev/snes9x", "a"); while(controlador) { input = fgetc(controlador); if(snes) fputc(input, snes); }
}
FILE* controlador, snes; char input; controlador = fopen("/dev/rfcomm0", "rb"); snes = fopen("/dev/snes9x", "rb"); while(controlador) { input = fgetc(fp); if(snes) fputc(input, snes);