puts
- Updated2023-02-21
- 1 minute(s) read
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