getmntinfo.3 (7f3dea244c40159a41ab22da77a434d7c5b5e85a) | getmntinfo.3 (c6ff3a1bf74d96278726113478b2c66884aab584) |
---|---|
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. --- 85 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 | 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. --- 85 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. |