[273,3] lun.c - routines to manage LUNs in an rsx decus-c application No longer a mess, but still not useful I think. Many conceptual bugs. I hope the interface will be stable, but the guts WILL be rethought. Maybe what I want to do is "unnatural" for RSX. LUN Manages the LUN resources of a task. LUNFIX() begin, internal LUNATTACH(dev) Allocate, return Lun # LUNDETACH(lun) Free up Lun LUNRESERVE(lun) Note we may not use said Lun GETBIT.C Extract bit from vector PUTBIT.MAC Force bit into vector. "C" version won't compile straight. LUN.OLB Library of LUN things to build against. LUNTST.C Tests above. A Note from BRU (No not that confounded DEC [f]utility) A lun allocation package, the fits in with the DECUSC C library, has been submitted by Bruce Cook. This is probably a better solution, though the function names may not be appropriate.