Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->putch()

Summary

#include <conio.h>
    
int putch(int ch);Write a character to console

Parameter

    
chCharacter to be output

Description

This function outputs the character to the console. The routine is implementation specific and will need to be created to suit your target system.  The version included in the library writes characters from the 8051 serial port.  See Console I/O which describes the use of this specific implementation.



Return Value

The function returns ch.