Displaying 1 result from an estimated 1 matches for "smbc_getdent".
Did you mean:
smbc_getdents
2002 Nov 28
0
problem with smbc_init in libsmbclient
...r, "Initializing the smbclient library : %s\n", strerror(errno));
}
dh=smbc_opendir(path);
if (dh <0) {
fprintf(stderr, "Could not open directory: %s: %s\n",path,strerror(errno));
exit(1);
}
/* Now, list those directories, but in funny ways ... */
/* if ((dirc = smbc_getdents(dh1,dirp,sizeof(struct smbc_dirent)*128)) < 0) {
fprintf(stderr, "Problems getting directory entries: %s\n",
strerror(errno));
exit(1);
}
*/
/* Now, process the list of names ... */
/* fprintf(stdout, "Directory listing, size = %u\n", dirc);...