LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

putchar

int putchar (int character);

Purpose

Writes the specified character to the standard output. If successful, the function returns the character written; otherwise, the function returns EOF (-1).

Note Note  This function is equivalent to fputc(Character, stdout).

Parameters

Input
Name Type Description
character int Contains the character to be written to the standard output. The input must be a character with integer value between 0 and 255.

Return Value

Name Type Description
characterWritten int Contains the character written. If an error occurs, putchar sets the error indicator for the stream, returns EOF, and sets errno to a nonzero value.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Was this information helpful?

Previous

putc

Next

puts

Previous

putc

Next

puts

Log in to get a better experience