Why msgsnd returns EPERM

Why msgsnd returns EPERM

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

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  */


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


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