puts function


int puts(char *s); //writes the string s and a trailing newline to std-out.

puts is used to print data on the screen (or to a file) whatever is STDIO. Another related function is printf which is much more powerfull.

MAN page

Example of the puts function.


Top Master Index Keywords Functions


Martin Leslie