Navigation

Operators and Keywords

Function List:

C++ API

: fputs (fid, string)
: status = fputs (fid, string)

Write the string string to the file with file descriptor fid.

The string is written to the file with no additional formatting. Use fdisp instead to automatically append a newline character appropriate for the local machine.

Return a non-negative number on success or EOF on error.

See also: fdisp, fprintf, fwrite, fopen.

Package: octave