File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / puts
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



puts()                        STDIO                        puts()




Write string onto standard output

#iinncclluuddee <ssttddiioo.hh>
vvooiidd ppuuttss(_s_t_r_i_n_g) cchhaarr *_s_t_r_i_n_g

puts  appends a  newline character  to the  string pointed  to by
string, and writes the result onto the standard output.

***** Example *****

The following uses ppuuttss to write a string on the screen.


#include <stdio.h>

main()
{
        puts("This is a string.");
}


***** See Also *****

fputs(), STDIO

***** Notes *****

For  historical  reasons,  fputs  outputs the  string  unchanged,
whereas puts appends a newline character.



























COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.