1 --- getmntinfo.3.orig 2008-05-13 13:37:51.000000000 -0700
2 +++ getmntinfo.3 2008-05-15 19:58:50.000000000 -0700
4 .\" @(#)getmntinfo.3 8.1 (Berkeley) 6/9/93
5 .\" $FreeBSD: src/lib/libc/gen/getmntinfo.3,v 1.12 2002/12/19 09:40:21 ru Exp $
13 .Nd get information about mounted file systems
21 .Fn getmntinfo "struct statfs **mntbufp" "int flags"
22 +#ifdef UNIFDEF_LEGACY_64_APIS
23 +.Sh TRANSITIIONAL SYNOPSIS (NOW DEPRECATED)
26 +.Fn getmntinfo64 "struct statfs64 **mntbufp" "int flags" ;
27 +#endif /* UNIFDEF_LEGACY_64_APIS */
35 structures describing each currently mounted file system (see
40 argument transparently to
42 +#ifdef UNIFDEF_LEGACY_64_APIS
47 +.Dv _DARWIN_FEATURE_64_BIT_INODE
50 +type will be 64-bits (force 64-bit inode mode by defining the
51 +.Dv _DARWIN_USE_64_BIT_INODE
52 +macro before including header files).
53 +This will cause the symbol variant of
57 +suffixes, to be automatically linked in.
60 +structure will be the 64-bit inode version.
62 +.Dv _DARWIN_USE_64_BIT_INODE
67 +structure will refer to the 32-bit inode versions.
68 +#endif /* UNIFDEF_LEGACY_64_APIS */
70 On successful completion,
76 +#ifdef UNIFDEF_LEGACY_64_APIS
77 +.Sh TRANSITIONAL DESCRIPTION (NOW DEPRECATED)
80 +routine is equivalent to its corresponding non-64-suffixed routine,
81 +when 64-bit inodes are in effect.
82 +It was added before there was support for the symbol variants, and so is
84 +Instead of using it, set the
85 +.Dv _DARWIN_USE_64_BIT_INODE
86 +macro before including header files to force 64-bit inode support.
90 +structure used by this deprecated routine is the same as the
92 +structure when 64-bit inodes are in effect.
93 +#endif /* UNIFDEF_LEGACY_64_APIS */
101 +#ifdef UNIFDEF_LEGACY_64_APIS
104 +functions write the array of structures to an internal static object
105 +#else /* !UNIFDEF_LEGACY_64_APIS */
106 function writes the array of structures to an internal static object
107 +#endif /* UNIFDEF_LEGACY_64_APIS */
109 a pointer to that object.
112 +#ifdef UNIFDEF_LEGACY_64_APIS
115 +#endif /* UNIFDEF_LEGACY_64_APIS */
116 will modify the same object.
118 The memory allocated by
120 +#ifdef UNIFDEF_LEGACY_64_APIS
123 +#endif /* UNIFDEF_LEGACY_64_APIS */