LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents

puts

puts

int puts (const char lineBuffer[]);

Purpose

Writes the specified string to the standard output. A newline character is appended and the terminating ASCII NUL byte is discarded.

Parameters

Input
Name Type Description
lineBuffer const char [] Contains a pointer to the string that is written to the standard output. A newline character is appended and the terminating ASCII NUL byte is discarded.

Return Value

Name Type Description
status int Contains the resulting status of the function. On success, puts returns 0. If a write error occurs, puts 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

fgets

Next

fputs

Previous

fgets

Next

fputs