KasperskyOS Community Edition 1.1

Recv()

This function is declared in the coresrv/syscalls.h file.

Retcode Recv(Handle handle, SMsgHdr *msgIn);

This function locks the calling thread until an IPC request is received. This function is called by the server process.

Parameters:

  • handle is the server IPC handle of the utilized channel.
  • msgIn is the buffer for an IPC request.

Returned value:

  • rcOk means that an IPC request was successfully received.
  • rcInvalidArgument means that the IPC request has an invalid structure.
  • rcSecurityDisallow means that IPC request forwarding is prohibited by the Kaspersky Security Module.

Other return codes are available.