Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ puts(3S) — GENIX 4.1A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fopen(3)

gets(3)

putc(3)

printf(3)

ferror(3)

fread(3)



      PUTS(3S)                GENIX Programmer's Manual                PUTS(3S)



      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  output
           stream.

           Neither routine copies the terminal null character.

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

      BUGS
           Puts appends a newline, fputs does not, all in the name of  backward
           compatibility.


























      Printed 11/16/83                                                        1



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