[PATCH] smbget : enable update and various cleanup

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Feb 25 22:50:17 GMT 2008


On Mon, Feb 25, 2008 at 11:35:08PM +0100, neologix at free.fr wrote:
> Because in every single function/system call I know
> (except inet_aton) returns 0 on success, non-zero
> otherwise. Hey, you're the onse talking about consistency!

I would have understood it if you had passed 0 on success
and -1 including errno on error. That's what Unix does for
its syscalls.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080225/369d74e2/attachment.bin


More information about the samba-technical mailing list