[PATCH 1/7] bb_ioctl implementation

Denis Vlasenko vda.linux at googlemail.com
Sat Jul 14 15:06:44 PDT 2007


On Tuesday 10 July 2007 22:57, Tito wrote:
> Hi,
> this series of 7 patches is a first attempt to add an ioctl api to libbb
> and to use it in all applets where:
> 
> if ( ioctl() < 0 [!= 0])
> 	bb_perror_msg{and_die}();
> 
> or similar code is used.

Reviewed and applied to svn with insignificant changes.

ioctl_or_die -> xioctl
ioctl_or_vperrorXXX -> ioctl_or_perrorXXX

Patch is attached, anyone for additional quick eye scan through
for stupid errors?

Thanks Tito!
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8.patch.bz2
Type: application/x-bzip2
Size: 12588 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070714/388e36df/attachment-0001.bin 


More information about the busybox mailing list