Annotation of coherent/a/usr/man/COHERENT/sload, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: sload()                COHERENT System Call               sload()
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Load device driver
        !             9: 
        !            10: #include <con.h>
        !            11: iinntt ssllooaadd(_m_a_j_o_r, _f_i_l_e, _c_o_n_p)
        !            12: iinntt _m_a_j_o_r; cchhaarr *_f_i_l_e; CCOONN *_c_o_n_p;
        !            13: 
        !            14: The COHERENT system accesses all devices through drivers residing
        !            15: in the  system.  Except for the root device,  drivers must be ex-
        !            16: plicitly loaded  before use; this operation  does not involve re-
        !            17: booting.
        !            18: 
        !            19: sload  loads the  driver given  by file  as device  number major.
        !            20: This number  uniquely identifies the driver  to the system.  conp
        !            21: is a reference to a CON  structure, as defined in the header file
        !            22: con.h.  It describes standard entry points and gives other infor-
        !            23: mation on the driver.  Normally, major and conp are obtained from
        !            24: the driver load module; this is  the method used by the load com-
        !            25: mand.
        !            26: 
        !            27: file must be in the correct format.  Usually, it is created using
        !            28: the -k option to ld.
        !            29: 
        !            30: This call is restricted to the superuser.
        !            31: 
        !            32: ***** Files *****
        !            33: 
        !            34: <con.h>
        !            35: /drv/*
        !            36: 
        !            37: ***** See Also *****
        !            38: 
        !            39: COHERENT system calls, con.h, init, l.out.h, ld, suload
        !            40: 
        !            41: ***** Diagnostics *****
        !            42: 
        !            43: sload  return zero  upon  successful loading  of the  appropriate
        !            44: driver, or -1  on errors.  sload errors include nonexistent file,
        !            45: parameter (such as major) out of range, driver already loaded for
        !            46: major, or file not a file containing a proper driver.
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

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