1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

[Bug 6069] Add a fstatvfs function for libsmbclient

- Revert Tim's changes for the moment. I need to see what the issue is and
  arrange to use "struct statvfs" if at all possible.

Derrell
This commit is contained in:
Derrell Lipman
2009-02-13 16:47:54 -05:00
parent 1c9630bf4d
commit 352c97561e
6 changed files with 15 additions and 28 deletions

View File

@ -1,4 +1,5 @@
#include <sys/types.h>
#include <sys/statvfs.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
@ -17,7 +18,7 @@ int main(int argc, char * argv[])
char * p;
char path[2048];
struct stat statbuf;
struct smbc_statvfs statvfsbuf;
struct statvfs statvfsbuf;
smbc_init(get_auth_data_fn, debug);

View File

@ -1,4 +1,5 @@
#include <sys/types.h>
#include <sys/statvfs.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
@ -17,7 +18,7 @@ int main(int argc, char * argv[])
char * p;
char path[2048];
struct stat statbuf;
struct smbc_statvfs statvfsbuf;
struct statvfs statvfsbuf;
smbc_init(get_auth_data_fn, debug);