On Saturday 23 June 2007, Mike Frysinger wrote:
> +int xioctl(int fd, int request, unsigned long arg)
> +{
> +       int ret = ioctl(fd, request, arg);
> +       if (ret != 0)
> +               bb_perror_msg_and_die("ioctl");
> +       return ret;
> +}

actually now that i think about it, considering the usage here (people usually 
only care if it fails, they dont want to read the return value), we probably 
can do:
void xioctl(...)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to