Next: , Previous: Opening and Closing Files, Up: C-Style I/O Functions


16.2.2 Simple Output

— Built-in Function: fputs (fid, string)

Write a string to a file with no formatting.

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

— Built-in Function: puts (string)

Write a string to the standard output with no formatting.

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