gets man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

Digital UNIX Diffs - gets(5)			  Digital UNIX Diffs - gets(5)

NAME
       gets, fgets -  Get a string from a stream

LIBRARY
	Standard C Library (libc.a)

SYNOPSIS
       #include <stdio.h>

       char ∗gets(
	       char ∗string);

       char *fgets(
	       char *string,
	       int n,
	       FILE *stream);

PARAMETERS
       Points  to  a string to receive bytes.  Specifies an upper bound on the
       number of bytes to read.	 Points to the FILE structure of an open file.

DIFFERENCES
       vms-vaxc(5): OpenVMS VAX C vs DEC C Differences

       The DEC C RTL functions gets(3) and fgets(3) do not null-terminate  the
       input  buffer  when  end-of-file (EOF) is encountered and no characters
       have been read since the last read operation.  The VAX C RTL  null-ter‐
       minates the input buffer in this case.

RELATED INFORMATION
       Functions:  gets(3), fgets(3)

CATEGORY INDEX
	vms-vaxc(5)

       delim off

						  Digital UNIX Diffs - gets(5)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net