Annotation of xinu/sys/LSI/ibclear.c, revision 1.1

1.1     ! root        1: /* ibclear.c - ibclear */
        !             2: 
        !             3: #include <conf.h>
        !             4: #include <kernel.h>
        !             5: #include <disk.h>
        !             6: #include <lfile.h>
        !             7: #include <dir.h>
        !             8: 
        !             9: /*------------------------------------------------------------------------
        !            10:  *  ibclear  --  clear in-core copy of an iblock
        !            11:  *------------------------------------------------------------------------
        !            12:  */
        !            13: ibclear(ibptr, ibbyte)
        !            14: struct iblk    *ibptr;
        !            15: long   ibbyte;
        !            16: {
        !            17:        int     i;
        !            18: 
        !            19:        ibptr->ib_byte = ibbyte;
        !            20:        for (i=0 ; i<IBLEN ; i++)
        !            21:                ibptr->ib_dba[i] = DBNULL;
        !            22:        ibptr->ib_next = IBNULL;
        !            23: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.