Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ puts(3S) — bsd — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fopen(3S)

gets(3S)

putc(3S)

printf(3S)

ferror(3S)

fread(3S)



PUTS(3S-BSD)        RISC/os Reference Manual         PUTS(3S-BSD)



NAME
     puts, fputs - put a string on a stream

SYNOPSIS
     #include <stdio.h>

     puts(s)
     char *s;

     fputs(s, stream)
     char *s;
     FILE *stream;

DESCRIPTION
     puts copies the null-terminated string s to the standard
     output stream stdout and appends a newline character.

     fputs copies the null-terminated string s to the named out-
     put stream.

     Neither routine copies the terminal null character.

SEE ALSO
     fopen(3S), gets(3S), putc(3S), printf(3S), ferror(3S)
     fread(3S) for fwrite

ERRORS
     puts appends a newline, fputs does not, all in the name of
     backward compatibility.


























                         Printed 1/15/91                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026