Deleted Added
full compact
fgets.3 (165903) fgets.3 (189136)
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

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)fgets.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

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)fgets.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/stdio/fgets.3 165903 2007-01-09 00:28:16Z imp $
33.\" $FreeBSD: head/lib/libc/stdio/fgets.3 189136 2009-02-28 06:00:58Z das $
34.\"
35.Dd June 4, 1993
36.Dt FGETS 3
37.Os
38.Sh NAME
39.Nm fgets ,
40.Nm gets
41.Nd get a line from a stream

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

142.Fn fgets
143function be used in all cases.
144(See
145the FSA.)
146.Sh SEE ALSO
147.Xr feof 3 ,
148.Xr ferror 3 ,
149.Xr fgetln 3 ,
34.\"
35.Dd June 4, 1993
36.Dt FGETS 3
37.Os
38.Sh NAME
39.Nm fgets ,
40.Nm gets
41.Nd get a line from a stream

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

142.Fn fgets
143function be used in all cases.
144(See
145the FSA.)
146.Sh SEE ALSO
147.Xr feof 3 ,
148.Xr ferror 3 ,
149.Xr fgetln 3 ,
150.Xr fgetws 3
150.Xr fgetws 3 ,
151.Xr getline 3
151.Sh STANDARDS
152The functions
153.Fn fgets
154and
155.Fn gets
156conform to
157.St -isoC-99 .
152.Sh STANDARDS
153The functions
154.Fn fgets
155and
156.Fn gets
157conform to
158.St -isoC-99 .