SOCU:fcntl

SOCU:fcntl

Request #

Index WordDescription
0Header code [0x001300C2]
1Socket descriptor
2int cmd
3arg
4Value 0x20 (processID header)
5ProcessID set by the ARM11 kernel.

Response #

Index WordDescription
0Header code
1Result code
2POSIX return value

Description #

The input cmd must be either F_GETFL(3)/F_SETFL(4), otherwise an error is returned. For fd-flags, O_NONBLOCK is bitmask value 0x4.