.title OPNWNT - Access the network .ident /000001/ ; ; ; C Runtime Library Extensions for RSX DECNET V4.0 ; ;{} ; Copyright 1984 - The Associated Press, New York ; ; This software is provided as a service to the DECUS community. ; Copying and distribution is encouraged so long as it is done ; free. The Associated Press makes no guarantees that this ; software works. ; ; ; 1-Sep-84 ; ;+ ; ; Index OPNWNT - Access the network, wait ; ; Usage ; ; include ; ; int lun; /* Logical unit number */ ; int eflag; /* Event flag number */ ; int iosb[2]; /* I/O status block */ ; {typ} astsrv() /* AST service routine */ ; int links; /* max number of logical links */ ; int lrp; /* link recovery period */ ; ; int opnwnt(lun, efn, iosb, astsrv, links, lrp) ; ; Returns DSW. ; include for symbolic DSW return codes. ; ; ; Description ; ; See DECnet-RSX Programmer's Reference manual for usage. ; Remember that unused parameters must be 0. ; ; Bugs ; ;- ; ; Edit history ; ; 000001 hjj 9/1/84 created ; .mcall opnw$s .PSECT c$code opnwnt:: mov sp,r0 ;r0 --> stack frame opnw$s 2(r0),4(r0),6(r0),10(r0),<12(r0),14(r0)> mov $dsw,r0 ;return dsw return .end