home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
network
/
netlib_1
/
NetLibSrc
/
s
/
getsockopt
< prev
next >
Wrap
Text File
|
1995-09-11
|
284b
|
20 lines
GET hdr.Regs
GET hdr.SocketSWIs
AREA |C$$code|,CODE,READONLY
IMPORT |__errno|
EXPORT getsockopt
getsockopt
STMFD sp!,{r4,lr}
LDR r4,[sp,#8]
CallSWI XSocket_Getsockopt
LDMVCFD sp!,{r4,pc}^
LDR r0,[r0]
StoreErrno r1, r2
MOV r0,#-1
LDMFD sp!,{r4,pc}^
END