Lines Matching refs:displayErrorAndExit
150 void displayErrorAndExit(int exitNum, char *message);
218 displayErrorAndExit(EXIT_NUM_NO_DEVICE, "Cannot access devices."); in listDevice()
269 displayErrorAndExit(EXIT_NUM_NO_DEVICE, "found no device."); in searchDevice()
308 displayErrorAndExit(EXIT_NUM_NO_DEVICE, "illegal device."); in searchDevice()
370 void displayErrorAndExit(int exitNum, char *message) in displayErrorAndExit() function
475 displayErrorAndExit(EXIT_NUM_ILLEGAL_OPTION, "illegal device type."); in parseOption()
495 displayErrorAndExit(EXIT_NUM_ILLEGAL_OPTION, "illegal value for card slot option."); in parseOption()
510 displayErrorAndExit(EXIT_NUM_ILLEGAL_OPTION, in parseOption()
519 displayErrorAndExit(EXIT_NUM_ILLEGAL_OPTION, in parseOption()
528 displayErrorAndExit(EXIT_NUM_ILLEGAL_OPTION, in parseOption()
538 displayErrorAndExit(EXIT_NUM_ILLEGAL_OPTION, in parseOption()
544 displayErrorAndExit(EXIT_NUM_UNKNOWN_OPTION, "unknown option."); in parseOption()
629 displayErrorAndExit(EXIT_NUM_NO_INPUT_FILE, "cannot open input file."); in loadFile()
637 displayErrorAndExit(EXIT_NUM_NOT_CONNECT, "cannot connect device."); in loadFile()
665 displayErrorAndExit(EXIT_NUM_LOADING_ERROR, "troubled while loading input file."); in loadFile()
712 displayErrorAndExit(EXIT_NUM_CANNOT_USE_CARTRIDGE, "cannot use cartridge slot."); in setSlotPower()
721 displayErrorAndExit(EXIT_NUM_CANNOT_USE_CARD, "cannot use card slot."); in setSlotPower()
785 displayErrorAndExit(EXIT_NUM_PRINTF_ERROR, in procPrintf()
1001 displayErrorAndExit(EXIT_NUM_NO_DEVICE, "Cannot access devices."); in main()