Deleted Added
full compact
getc.3 (73088) getc.3 (79754)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libc/stdio/getc.3 73088 2001-02-26 13:23:47Z ru $
37.\" $FreeBSD: head/lib/libc/stdio/getc.3 79754 2001-07-15 07:53:42Z dd $
38.\"
39.Dd June 4, 1993
40.Dt GETC 3
41.Os
42.Sh NAME
43.Nm fgetc ,
44.Nm getc ,
45.Nm getchar ,
46.Nm getw
47.Nd get next character or word from input stream
48.Sh LIBRARY
49.Lb libc
50.Sh SYNOPSIS
51.Fd #include <stdio.h>
52.Ft int
53.Fn fgetc "FILE *stream"
54.Ft int
55.Fn getc "FILE *stream"
56.Ft int
38.\"
39.Dd June 4, 1993
40.Dt GETC 3
41.Os
42.Sh NAME
43.Nm fgetc ,
44.Nm getc ,
45.Nm getchar ,
46.Nm getw
47.Nd get next character or word from input stream
48.Sh LIBRARY
49.Lb libc
50.Sh SYNOPSIS
51.Fd #include <stdio.h>
52.Ft int
53.Fn fgetc "FILE *stream"
54.Ft int
55.Fn getc "FILE *stream"
56.Ft int
57.Fn getchar
57.Fn getchar
58.Ft int
59.Fn getw "FILE *stream"
60.Sh DESCRIPTION
61The
62.Fn fgetc
63function
64obtains the next input character (if present) from the stream pointed at by
65.Fa stream ,

--- 74 unchanged lines hidden ---
58.Ft int
59.Fn getw "FILE *stream"
60.Sh DESCRIPTION
61The
62.Fn fgetc
63function
64obtains the next input character (if present) from the stream pointed at by
65.Fa stream ,

--- 74 unchanged lines hidden ---