Writes a character string, carriage return, and line feed to a file opened with a low-level file function.
FPUTS(nFileHandle, cExpression [, nCharactersWritten])
- Specifies the file handle number for the file to which FPUTS(В ) writes data.
- Specifies the character expression that FPUTS(В ) writes to the file.
- Specifies the number of characters in cExpression to write to the file. FPUTS(В ) writes the entire character expression cExpression to the file if you omit nCharactersWritten. If you include nCharactersWritten, nCharactersWritten characters are written to the file. If nCharactersWritten is less than the number of characters in cExpression, only nCharactersWritten characters are written to the file. All of cExpression is written to the file if nCharactersWritten is equal to or greater than the number of characters in cExpression.
FPUTS(В ) returns the number of bytes written to the file. Zero is returned if FPUTS(В ) cannot write to the file for any reason.