home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / network / netlib_1 / NetLibSrc / s / shutdown < prev    next >
Text File  |  1995-09-11  |  252b  |  19 lines

  1.         GET    hdr.Regs
  2.         GET    hdr.SocketSWIs
  3.  
  4.         AREA    |C$$code|,CODE,READONLY
  5.  
  6.         IMPORT    |__errno|
  7.  
  8.         EXPORT    shutdown
  9. shutdown
  10.         STMFD    sp!,{lr}
  11.         CallSWI    XSocket_Shutdown
  12.         LDMVCFD    sp!,{pc}^
  13.         LDR    r0,[r0]
  14.         StoreErrno r1, r2
  15.         MOV    r0,#-1
  16.         LDMFD    sp!,{pc}^
  17.  
  18.         END
  19.