Lines Matching defs:file
3 This file implements a SANE backend for the Fujitsu fi-60F, the
36 the executable file might be covered by the GNU General Public
72 - move data blocks to separate file
315 * Read the config file, find scanners with help from sanei_*
345 DBG (15, "sane_get_devices: reading config file %s\n", CONFIG_FILE);
369 DBG (5, "sane_get_devices: firmware file too long. ignoring '%s'\n", lp);
388 DBG (5, "sane_get_devices: no config file '%s'!\n",
491 /* load the firmware file into scanner */
715 int file, i;
740 file = open((char *)global_firmware_filename,O_RDONLY);
741 if(!file){
742 DBG (5, "load_fw: failed to open file %s\n",global_firmware_filename);
747 if(lseek(file,0x100,SEEK_SET) != 0x100){
748 DBG (5, "load_fw: failed to lseek file %s\n",global_firmware_filename);
749 close(file);
756 close(file);
760 len = read(file,buf,FIRMWARE_LENGTH);
761 close(file);
764 DBG (5, "load_fw: firmware file %s wrong length\n",
770 DBG (15, "load_fw: read firmware file %s ok\n", global_firmware_filename);