diff options
Diffstat (limited to 'testsuite/libsmbclient/src/init/init_4.c')
-rw-r--r-- | testsuite/libsmbclient/src/init/init_4.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/libsmbclient/src/init/init_4.c b/testsuite/libsmbclient/src/init/init_4.c new file mode 100644 index 0000000000..d8e44b50ee --- /dev/null +++ b/testsuite/libsmbclient/src/init/init_4.c @@ -0,0 +1,18 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <errno.h> +#include <libsmbclient.h> + + +int main( ) +{ + int err = -1; + + err = smbc_init(NULL, 0); + + err = errno; + + return err; + +} |