Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* pathconf -- adjusted for busybox */
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/statfs.h>
-//#include <sys/statvfs.h>
-libc_hidden_proto(statfs)
-libc_hidden_proto(stat)
+extern __typeof(statfs) __libc_statfs;
/* The Linux kernel headers mention this as a kind of generic value. */
struct statfs buf;
int save_errno = errno;
- if (statfs (path, &buf) < 0)
+ if (__libc_statfs (path, &buf) < 0)
{
if (errno == ENOSYS)
{