• Home
  • Raw
  • Download

Lines Matching +full:has +full:- +full:flag

17  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
42 * USAGE: <for command-line>
43 * ioctl02 -D /dev/tty[0-9] [-c n] [-f] [-i n] [-I x] [-P x] [-t]
44 * where, -c n : Run n copies concurrently.
45 * -f : Turn off functionality Testing.
46 * -i n : Execute test n times.
47 * -I x : Execute test for x seconds.
48 * -P x : Pause for x seconds between iterations.
49 * -t : Turn on syscall timing.
55 * test must be run with the -D option
117 "the -D option."); in main()
159 if (rval == -1) { in main()
184 if (ioctl(parentfd, TCSETA, &save_io) == -1) in main()
219 * run_ptest() - setup the various termio structure values and issue
256 return -1; in run_ptest()
263 return -1; in run_ptest()
272 * Wait till the parent has finished testing. in run_ctest()
281 if (close(childfd) == -1) in run_ctest()
288 int i, flag = 0; in chk_tty_parms() local
291 tst_resm(TINFO, "line discipline has incorrect value %o", in chk_tty_parms()
293 flag++; in chk_tty_parms()
300 * However, it has been observed that other flags are properly set. in chk_tty_parms()
304 tst_resm(TINFO, "cflag has incorrect value. %o", in chk_tty_parms()
306 flag++; in chk_tty_parms()
315 tst_resm(TINFO, "control char %d has " in chk_tty_parms()
318 flag++; in chk_tty_parms()
324 tst_resm(TINFO, "control char %d has incorrect " in chk_tty_parms()
326 flag++; in chk_tty_parms()
333 tst_resm(TINFO, "lflag has incorrect value. %o", in chk_tty_parms()
335 flag++; in chk_tty_parms()
342 tst_resm(TINFO, "iflag has incorrect value. %o", in chk_tty_parms()
344 flag++; in chk_tty_parms()
348 tst_resm(TINFO, "oflag has incorrect value. %o", in chk_tty_parms()
350 flag++; in chk_tty_parms()
353 if (!flag) in chk_tty_parms()
356 return flag; in chk_tty_parms()
365 /* unset the closed flag */ in do_parent_setup()
383 return -1; in do_child_setup()
391 return -1; in do_child_setup()
420 printf(" -D <tty device> : for example, /dev/tty[0-9]\n"); in help()
431 /* Save the current device information - to be restored in cleanup() */ in setup()
463 if (ioctl(parentfd, TCSETA, &save_io) == -1) in cleanup()
465 if (close(parentfd) == -1) in cleanup()