Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

int imc_sendmsg ( int  desc,
struct NaClImcMsgHdr const *  nmhp,
int  flags 

Sends a message over a specified IMC socket descriptor. descriptor.

desc The file descriptor of an IMC socket.
nmhp The message header structure containing information to be sent.
flags TBD
On success, imc_sendmsg returns a non-negative number of bytes sent to the socket. On failure, it returns -1 and sets errno appropriately. The returned descriptor may be used to transfer data and descriptors but is itself not transferable.

Definition at line 17 of file imc_sendmsg.c.

References imc_sendmsg().

Referenced by imc_sendmsg().

  int retval = NACL_SYSCALL(imc_sendmsg)(desc, nmhp, flags);
  if (retval < 0) {
    errno = -retval;
    return -1;
  return retval;

Generated by  Doxygen 1.6.0   Back to index