Deleted Added
full compact
fclose.3 (84306) fclose.3 (108037)
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.\" @(#)fclose.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.\" @(#)fclose.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libc/stdio/fclose.3 84306 2001-10-01 16:09:29Z ru $
37.\" $FreeBSD: head/lib/libc/stdio/fclose.3 108037 2002-12-18 12:45:11Z ru $
38.\"
39.Dd June 4, 1993
40.Dt FCLOSE 3
41.Os
42.Sh NAME
43.Nm fclose
44.Nd close a stream
45.Sh LIBRARY

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

72function
73may also fail and set
74.Va errno
75for any of the errors specified for the routines
76.Xr close 2
77or
78.Xr fflush 3 .
79.Sh NOTES
38.\"
39.Dd June 4, 1993
40.Dt FCLOSE 3
41.Os
42.Sh NAME
43.Nm fclose
44.Nd close a stream
45.Sh LIBRARY

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

72function
73may also fail and set
74.Va errno
75for any of the errors specified for the routines
76.Xr close 2
77or
78.Xr fflush 3 .
79.Sh NOTES
80The
80.Fn fclose
81.Fn fclose
82function
81does not handle NULL arguments; they will result in a segmentation
82violation.
83This is intentional - it makes it easier to make sure programs written
84under
85.Fx
86are bug free.
87This behaviour is an implementation detail, and programs should not
88rely upon it.
89.Sh SEE ALSO
90.Xr close 2 ,
91.Xr fflush 3 ,
92.Xr fopen 3 ,
93.Xr setbuf 3
94.Sh STANDARDS
95The
96.Fn fclose
97function
98conforms to
99.St -isoC .
83does not handle NULL arguments; they will result in a segmentation
84violation.
85This is intentional - it makes it easier to make sure programs written
86under
87.Fx
88are bug free.
89This behaviour is an implementation detail, and programs should not
90rely upon it.
91.Sh SEE ALSO
92.Xr close 2 ,
93.Xr fflush 3 ,
94.Xr fopen 3 ,
95.Xr setbuf 3
96.Sh STANDARDS
97The
98.Fn fclose
99function
100conforms to
101.St -isoC .