0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 1999-2001, 2003, 2004, 2007, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater/* $Id: serial_test.c,v 1.15 2007/06/19 23:46:59 tbox Exp $ */
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews char *s, *e;
91cd0f93ad34d23e8b09dca337120f64fbe8f0a1Andreas Gustafsson while (fgets(buf, sizeof(buf), stdin) != NULL) {
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews a = strtoul(s, &e, 0);
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews b = strtoul(s, &e, 0);
60650dd537ca5e2eda953914bf5715d5e8f8b872Mark Andrews fprintf(stdout, "%u %u gt:%d lt:%d ge:%d le:%d eq:%d ne:%d\n",