Lines Matching refs:rval
46 int rval; in safe_msgget() local
48 rval = msgget(key, msgflg); in safe_msgget()
49 if (rval == -1) { in safe_msgget()
54 return rval; in safe_msgget()
60 int rval; in safe_msgsnd() local
62 rval = msgsnd(msqid, msgp, msgsz, msgflg); in safe_msgsnd()
63 if (rval == -1) { in safe_msgsnd()
69 return rval; in safe_msgsnd()
75 ssize_t rval; in safe_msgrcv() local
77 rval = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in safe_msgrcv()
78 if (rval == -1) { in safe_msgrcv()
84 return rval; in safe_msgrcv()
90 int rval; in safe_msgctl() local
92 rval = msgctl(msqid, cmd, buf); in safe_msgctl()
93 if (ret_check(cmd, rval)) { in safe_msgctl()
96 file, lineno, msqid, cmd, buf, rval); in safe_msgctl()
100 return rval; in safe_msgctl()
106 int rval; in safe_shmget() local
108 rval = shmget(key, size, shmflg); in safe_shmget()
109 if (rval == -1) { in safe_shmget()
114 return rval; in safe_shmget()
120 void *rval; in safe_shmat() local
122 rval = shmat(shmid, shmaddr, shmflg); in safe_shmat()
123 if (rval == (void *)-1) { in safe_shmat()
128 return rval; in safe_shmat()
133 int rval; in safe_shmdt() local
135 rval = shmdt(shmaddr); in safe_shmdt()
136 if (rval == -1) { in safe_shmdt()
141 return rval; in safe_shmdt()
147 int rval; in safe_shmctl() local
149 rval = shmctl(shmid, cmd, buf); in safe_shmctl()
150 if (ret_check(cmd, rval)) { in safe_shmctl()
153 file, lineno, shmid, cmd, buf, rval); in safe_shmctl()
156 return rval; in safe_shmctl()