Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fopen(3S)

gets(3S)

putc(3S)

printf(3S)

ferror(3S)

fread(3S)

PUTS(3S)

NAME

puts, fputs − put a string on a stream

USAGE

#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. 

RELATED INFORMATION

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

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