contents   index   previous   next



Clib.puts()

syntax:

Clib.puts(str)

where:

str - string to write to the stream stdout.

 

return:

number - a positive number on success, else EOF.

 

description:

Writes a string to stdout, followed by a newline character. Will not write the final null character of null terminated strings. Returns EOF if there is an error writing the string; otherwise it returns a positive number.

 

This method is the same as Clib.fputs(str, stdout) except that a newline character is written after the string.

 

see:

Clib.putchar(), Clib.puts()

 

 


Clib.scanf()