Lines Matching refs:xt
238 struct xtty xt;
241 bzero(&xt, sizeof xt);
242 xt.xt_size = sizeof xt;
249 xt.xt_insize = tty.t_inq.ti_nblocks * TTYINQ_DATASIZE;
250 xt.xt_incc = tty.t_inq.ti_linestart - tty.t_inq.ti_begin;
251 xt.xt_inlc = tty.t_inq.ti_end - tty.t_inq.ti_linestart;
252 xt.xt_inlow = tty.t_inlow;
253 xt.xt_outsize = tty.t_outq.to_nblocks * TTYOUTQ_DATASIZE;
254 xt.xt_outcc = tty.t_outq.to_end - tty.t_outq.to_begin;
255 xt.xt_outlow = tty.t_outlow;
256 xt.xt_column = tty.t_column;
257 /* xt.xt_pgid = ... */
258 /* xt.xt_sid = ... */
259 xt.xt_flags = tty.t_flags;
260 xt.xt_dev = NODEV;
261 ttyprt(&xt);
339 ttyprt(struct xtty *xt)
344 if (xt->xt_size != sizeof *xt)
346 if (usenumflag || xt->xt_dev == 0 ||
347 (name = devname(xt->xt_dev, S_IFCHR)) == NULL)
348 printf("%5d,%4d ", major(xt->xt_dev), minor(xt->xt_dev));
352 xt->xt_insize, xt->xt_incc, xt->xt_inlc,
353 (xt->xt_insize - xt->xt_inlow), xt->xt_outsize,
354 xt->xt_outcc, (xt->xt_outsize - xt->xt_outlow),
355 MIN(xt->xt_column, 99999), xt->xt_sid, xt->xt_pgid);
357 if (xt->xt_flags & ttystates[i].flag) {