/* Copyright (C) Magna Carta Software, Inc. 1990. All Rights Reserved WCONOUT.C -- If using Magna Carta's C WINDOWS TOOLKIT for video display, this code can be used to write serial data in a window. WATCOM USERS NOTE: This function is not in the CCT Watcom C v7.0 library since WMAKE regards it as an error to compile an "empty" source file. COMPATIBILITY: TURBOC, MSC 5.0+/Quick C, POWERC 1.2.0+, WATCOM C */ #if defined(USE_CWT) #include WINDOW *w_current; /* WCONOUTC -- Outputs the character 'c' to a C WINDOWS TOOLKIT window. */ short wconoutc(COMM_PORT *p, short c) { #if CWT >= 300 putc_(w_current, w_current->colors->att, c); #else w_putc(w_current, w_current->p_colors->fc, w_current->p_colors->bc, c); #endif return (0); } #endif