Displaying 1 result from an estimated 1 matches for "savederrno".
Did you mean:
saved_errno
2007 May 10
2
programming libsmbclient
...up, "%s", "WG" );
sprintf( pUsername, "%s", "test" );
sprintf( pPassword, "%s", "test" );
}
int main(int argc, char * argv[])
{
int fd;
int ret;
int debug = 9;
int savedErrno;
char buffer[2048];
char * pSmbPath = NULL;
if (argc == 2)
{
pSmbPath = argv[1];
}
else
{
printf("usage: "
"%s [ smb://path/to/file ]\n",
argv[0]);
return 1;
}
smbc_i...