Lines Matching refs:rval
27 int rval; in safe_msgget() local
29 rval = msgget(key, msgflg); in safe_msgget()
30 if (rval == -1) { in safe_msgget()
35 return rval; in safe_msgget()
41 int rval; in safe_msgsnd() local
43 rval = msgsnd(msqid, msgp, msgsz, msgflg); in safe_msgsnd()
44 if (rval == -1) { in safe_msgsnd()
50 return rval; in safe_msgsnd()
56 ssize_t rval; in safe_msgrcv() local
58 rval = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in safe_msgrcv()
59 if (rval == -1) { in safe_msgrcv()
65 return rval; in safe_msgrcv()
71 int rval; in safe_msgctl() local
73 rval = msgctl(msqid, cmd, buf); in safe_msgctl()
74 if (rval == -1) { in safe_msgctl()
79 return rval; in safe_msgctl()