Searched refs:chgd (Results 1 – 3 of 3) sorted by relevance
73 int32_t chgd; /* for testing disk changed/present */ in format_floppy() local351 if (ioctl(fd, FDGETCHANGE, &chgd) == 0) { in format_floppy()352 if (chgd & FDGC_CURRENT) { in format_floppy()360 if (chgd & FDGC_CURWPROT) { in format_floppy()
489 short chgd = 0; in s_paper_changed() local510 chgd = 1; in s_paper_changed()516 if ((chgd || !mode) && (!pagesPrinted) && pps->exec) { in s_paper_changed()
462 int chgd; /* for testing disk changed/present */ in format_diskette() local827 if (ioctl(fd, FDGETCHANGE, &chgd) == 0) { in format_diskette()828 if (chgd & FDGC_CURRENT) { in format_diskette()838 if (chgd & FDGC_CURWPROT) { in format_diskette()