Why msgsnd returns EPERM

Why msgsnd returns EPERM

Post by mikro.. » Thu, 01 Jun 2000 04:00:00



Hello,
The following msgsnd function worked on my station (Solaris 2.7) But
when I run it on different station (also Solaris 2.7)
It fails. The errorno value is 1 which equals to
#define EPERM 1 /* Not super-user  */

Thanks.

if (msgsnd(qid, &msg_buf, len, 0) != 0)
{
  perror("sendMsg: msgsnd error");
  return FALSE;

Quote:}

Sent via Deja.com http://www.deja.com/
Before you buy.