DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

putchar(D3oddi)


putchar -- print a character on the console

Synopsis

int putchar(char c);

Description

The putchar( ) function is used by the printf(D3oddi) routine to put a character on the console, doing a ``busy wait'' rather than depending on interrupts. This means that all other system activities are suspended while putchar is executing.

Arguments


c
character to put on the console

Return values

putchar does not return a value.

Usage

Context and synchronization

All contexts.

Hardware applicability

All

Version applicability

oddi: 1

Differences between versions

Current drivers should use cmn_err(D3oddi) for all output to the console.

SVR5 DDI compatibility

DDI does not support this function. Use cmn_err(D3) for all output to the console.

References

cmn_err(D3oddi), getchar(D3oddi), printf(D3oddi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005