templeos-info/public/Wb/Demo/Dsk/BlkDevRep.HC

14 lines
440 B
HolyC
Raw Normal View History

2024-03-16 10:26:19 +00:00
U0 BlkDevRep()
{//Block Device Report.
I64 i;
for (i=0;i<BLKDEVS_NUM;i++)
if (blkdev.blkdevs[i].bd_signature==BD_SIGNATURE_VAL)
//$LK,"ClassRep",A="MN:ClassRep"$() dumps any structure, automatically.
ClassRep(&blkdev.blkdevs[i]);
//The lastclass arg tells ClassRep the datatype.
//lastclass is a language feature of $LK,"HolyC",A="FI:::/Doc/HolyC.DD"$.
//See $LK,"::/Demo/LastClass.HC"$.
}
BlkDevRep;