Deleted Added
full compact
getmntinfo.3 (50476) getmntinfo.3 (57686)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 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.\" @(#)getmntinfo.3 8.1 (Berkeley) 6/9/93
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 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.\" @(#)getmntinfo.3 8.1 (Berkeley) 6/9/93
33.\" $FreeBSD: head/lib/libc/gen/getmntinfo.3 50476 1999-08-28 00:22:10Z peter $
33.\" $FreeBSD: head/lib/libc/gen/getmntinfo.3 57686 2000-03-02 09:14:21Z sheldonh $
34.\"
35.Dd June 9, 1993
36.Dt GETMNTINFO 3
37.Os
38.Sh NAME
39.Nm getmntinfo
40.Nd get information about mounted file systems
41.Sh SYNOPSIS

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

94.Fn getmntinfo
95function first appeared in
96.Bx 4.4 .
97.Sh BUGS
98The
99.Fn getmntinfo
100function writes the array of structures to an internal static object
101and returns
34.\"
35.Dd June 9, 1993
36.Dt GETMNTINFO 3
37.Os
38.Sh NAME
39.Nm getmntinfo
40.Nd get information about mounted file systems
41.Sh SYNOPSIS

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

94.Fn getmntinfo
95function first appeared in
96.Bx 4.4 .
97.Sh BUGS
98The
99.Fn getmntinfo
100function writes the array of structures to an internal static object
101and returns
102a pointer to that object. Subsequent calls to
102a pointer to that object.
103Subsequent calls to
103.Fn getmntinfo
104will modify the same object.
105.Pp
106The memory allocated by
107.Fn getmntinfo
108cannot be
109.Xr free 3 Ns 'd
110by the application.
104.Fn getmntinfo
105will modify the same object.
106.Pp
107The memory allocated by
108.Fn getmntinfo
109cannot be
110.Xr free 3 Ns 'd
111by the application.