keyboard_test.c revision 70e5a7403f0e0a3bd292b8287c5fed5772c15270
1ca2cf024391992fe14b2df7d3ae0f575d074452Evan Hunt * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * Copyright (C) 2000, 2001 Internet Software Consortium.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Permission to use, copy, modify, and/or distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * purpose with or without fee is hereby granted, provided that the above
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * copyright notice and this permission notice appear in all copies.
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews * PERFORMANCE OF THIS SOFTWARE.
8c9fba44a41e3ea23e7e8405029980aba672f7ceEvan Hunt/* $Id: keyboard_test.c,v 1.13 2007/06/19 23:46:59 tbox Exp $ */
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews printf("FAILURE: %s: %s\n", msg, isc_result_totext(result));
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt unsigned char c;
94315060c2b0d9deafabe72d6a0482405fd9d377Evan Hunt unsigned int count;
87708bde16713bc02ff2598f4a82f98c699a2f2dMark Andrews printf("FAILURE: keyboard getchar failed: %s\r\n",