Lines Matching refs:status
204 long status;
209 status = sys$assign(&DevDesc, &DevChan, 0, 0);
210 if (!(status & 1))
211 return status;
214 * tty status (for password reading, could use IO$_READVBLK function
217 status = sys$qiow(0, DevChan, IO$_SENSEMODE, &iosb, 0, 0,
219 if (!(status & 1))
220 return status;
221 status = iosb[0];
222 if (!(status & 1))
223 return status;
233 /* use the IO$_SETMODE function to change the tty status */
234 status = sys$qiow(0, DevChan, IO$_SETMODE, &iosb, 0, 0,
236 if (!(status & 1))
237 return status;
238 status = iosb[0];
239 if (!(status & 1))
240 return status;
243 status = sys$dassgn(DevChan);
244 if (!(status & 1))
245 return status;
259 long status;
263 status = sys$assign(&DevDesc, &DevChan, 0, 0);
264 if (!(status & 1))
270 status = sys$qiow(0,DevChan,
274 if ((status&1) == 1)
275 status = iosb[0];
278 * (for this step, we do not need to check the completion status)
283 return (int)(((status&1) == 1) ? (uch)kbbuf[0] : EOF);