Lines Matching defs:xt
226 struct xtty xt;
229 bzero(&xt, sizeof xt);
230 xt.xt_size = sizeof xt;
237 xt.xt_insize = tty.t_inq.ti_nblocks * TTYINQ_DATASIZE;
238 xt.xt_incc = tty.t_inq.ti_linestart - tty.t_inq.ti_begin;
239 xt.xt_inlc = tty.t_inq.ti_end - tty.t_inq.ti_linestart;
240 xt.xt_inlow = tty.t_inlow;
241 xt.xt_outsize = tty.t_outq.to_nblocks * TTYOUTQ_DATASIZE;
242 xt.xt_outcc = tty.t_outq.to_end - tty.t_outq.to_begin;
243 xt.xt_outlow = tty.t_outlow;
244 xt.xt_column = tty.t_column;
245 /* xt.xt_pgid = ... */
246 /* xt.xt_sid = ... */
247 xt.xt_flags = tty.t_flags;
248 xt.xt_dev = (uint32_t)NODEV;
249 ttyprt(&xt);
327 ttyprt(struct xtty *xt)
332 if (xt->xt_size != sizeof *xt)
334 if (usenumflag || xt->xt_dev == 0 ||
335 (name = devname(xt->xt_dev, S_IFCHR)) == NULL)
336 printf("%#10jx ", (uintmax_t)xt->xt_dev);
340 xt->xt_insize, xt->xt_incc, xt->xt_inlc,
341 (xt->xt_insize - xt->xt_inlow), xt->xt_outsize,
342 xt->xt_outcc, (xt->xt_outsize - xt->xt_outlow),
343 MIN(xt->xt_column, 99999), xt->xt_sid, xt->xt_pgid);
345 if (xt->xt_flags & ttystates[i].flag) {