fputs
- Updated2023-02-21
- 1 minute(s) read
fputs
int fputs (const char lineBuffer[], FILE *stream);
Purpose
Writes a string to the specified output stream. A terminating ASCII NUL byte is not written.
Parameters
Input | ||
Name | Type | Description |
lineBuffer | const char [] | Contains a pointer to the string that is written to the specified output stream. A terminating ASCII NUL byte is not written to the stream. |
stream | FILE * | Contains a pointer to the output stream to which the specified string is written. |
Return Value
Name | Type | Description |
status | int | Contains the resulting status of the function. On success, fputs returns 0. If a write error occurs, fputs 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