rem: ppi_claim(pgm);
add: return fd;
context: void ppi_open(PROGRAMMER * pgm, char * port){  pgm->fd = open(port, O_RDWR);  if (pgm->fd < 0) {    fprintf(stderr, "%s: can't open device \"%s\": %s\n\n",              progname, port, strerror(errno));    exit(1);  }  ppi_claim(pgm);}