Home
last modified time | relevance | path

Searched refs:chgd (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_format.c73 int32_t chgd; /* for testing disk changed/present */ in format_floppy() local
351 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()
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp4.c489 short chgd = 0; in s_paper_changed() local
510 chgd = 1; in s_paper_changed()
516 if ((chgd || !mode) && (!pagesPrinted) && pps->exec) { in s_paper_changed()
/titanic_50/usr/src/cmd/fdformat/
H A Dfdformat.c462 int chgd; /* for testing disk changed/present */ in format_diskette() local
827 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()