Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | Socket descriptor |
Exit | |
---|---|
R0 | Corrupted |
The purpose of this call is to close a socket previously opened, shutting it down if necessary and freeing the descriptor.
This SWI directly corresponds to the function close and would ordinarily be called from C using the socketclose()
function in socklib.h
.
The different function name is needed because in RISC OS file descriptors and socket descriptors come from two different number spaces, while under Unix they share the same number space so a single close()
function serves to close either type.