Lines Matching refs:toys
33 #include "toys.h"
72 if (toys.optflags&FLAG_r) {
78 if (!(toys.optflags&FLAG_t)) {
80 if (toys.optflags&FLAG_T) {
118 if (toys.optflags & (FLAG_C|FLAG_n)) goto no_output;
120 if (toys.optflags&FLAG_T) {
127 if (!(toys.optflags&FLAG_S)) {
134 fd = open("/dev/kmsg", O_RDONLY|(O_NONBLOCK*!(toys.optflags&FLAG_w)));
161 data[size = xklogctl(3+(toys.optflags&FLAG_c), data, size)] = 0;
177 if (toys.optflags & FLAG_n) xklogctl(8, 0, TT.n);
180 if (toys.optflags & (FLAG_C|FLAG_c)) xklogctl(5, 0, 0);