AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     Socket descriptor
     R1 =     Pointer to a status structure
<=     R0 corrupted

The only meaningful fields of the status structure filled in when stat() is applied to a socket are st_mode and st_blksize.

st_mode equals S_IFSOCK if the descriptor given is recognised as a socket descriptor.
st_blksize gives the preferred send buffer size to use for the protocol (or 0 if unknown) which can improve performance by reducing fragmentation.

C definition     SWI definition

[sh-index] Back to list of manuals