fgets.3 (54e4e385de33a961e801ceeea8146437e25edd88) fgets.3 (ae828962685b8ae9e5104ce8e7fe8b05effcb9ec)
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

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

73function
74is equivalent to
75.Fn fgets
76with an infinite
77.Fa size
78and a
79.Fa stream
80of
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

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

73function
74is equivalent to
75.Fn fgets
76with an infinite
77.Fa size
78and a
79.Fa stream
80of
81.Em stdin ,
81.Dv stdin ,
82except that the newline character (if any) is not stored in the string.
83It is the caller's responsibility to ensure that the input line,
84if any, is sufficiently short to fit in the string.
85.Sh RETURN VALUES
86Upon successful completion,
87.Fn fgets
88and
89.Fn gets

--- 77 unchanged lines hidden ---
82except that the newline character (if any) is not stored in the string.
83It is the caller's responsibility to ensure that the input line,
84if any, is sufficiently short to fit in the string.
85.Sh RETURN VALUES
86Upon successful completion,
87.Fn fgets
88and
89.Fn gets

--- 77 unchanged lines hidden ---