Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gets(3spp) — UMIPS/BSD System Programmer's Package 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

puts(3spp)

getc(3spp)

GETS(3spp)

NAME

gets − get a string from the console

SYNOPSIS

#include <saioctl.h>

char *gets(s)
char *s;

DESCRIPTION

Gets reads a string into s from the console.  The string is terminated by a newline character, which is replaced in s by a null character.  Gets returns its argument. 

SEE ALSO

puts(3spp), getc(3spp),

DIAGNOSTICS

Gets returns the constant pointer NULL upon end of file or error. 

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