37 lines
1.1 KiB
Groff
37 lines
1.1 KiB
Groff
. \" Manual Seite fuer peekc
|
|
. \" @(#)peekc.3 1.1
|
|
. \"
|
|
.if t .ds a \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'a
|
|
.if t .ds o \v'-0.55m'\h'0.00n'\z.\h'0.45n'\z.\v'0.55m'\h'-0.45n'o
|
|
.if t .ds u \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'u
|
|
.if t .ds A \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'A
|
|
.if t .ds O \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'O
|
|
.if t .ds U \v'-0.77m'\h'0.30n'\z.\h'0.45n'\z.\v'0.77m'\h'-.75n'U
|
|
.if t .ds s \(*b
|
|
.if t .ds S SS
|
|
.if n .ds a ae
|
|
.if n .ds o oe
|
|
.if n .ds u ue
|
|
.if n .ds s sz
|
|
.TH PEEKC 3 "15. Juli 1988" "J\*org Schilling" "Schily\'s LIBRARY FUNCTIONS"
|
|
.SH NAME
|
|
peekc() \- shows the next character in the file
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.B
|
|
int peekc(f)
|
|
.B FILE *f;
|
|
.fi
|
|
.SH DESCRIPTION
|
|
peekc() shows the next character in the file. It does not
|
|
remove the character. The next call to peekc() or getc() will
|
|
return the same character.
|
|
.SH RETURNS
|
|
Returns the next character in the file or EOF if the file is at
|
|
the end of data.
|
|
.SH NOTES
|
|
This call may be used only on buffered files.
|
|
.PP
|
|
Notice that peekc() is not declared as type char, since EOF is
|
|
not a valid value for a char object.
|