Lines Matching refs:comp
144 struct commands *comp; in main() local
205 comp = &com[COM_RETEN]; in main()
207 comp = &com[COM_EJECT]; in main()
210 for (comp = com;; comp++) { in main()
211 if (comp->c_name == NULL) in main()
213 if (strncmp(p, comp->c_name, len) == 0) in main()
218 flags = comp->c_ronly ? O_RDONLY : O_WRONLY | O_CREAT; in main()
225 if (comp->c_code != MTNOP) { in main()
226 mt_com.mt_op = comp->c_code; in main()
229 if (mt_com.mt_count < comp->c_mincount || *p) in main()
238 err(2, "%s: %s", tape, comp->c_name); in main()