On Tue, 2005-11-29 at 11:34, [EMAIL PROTECTED] wrote:
> >I don't see why the egg-laying, milk-giving woolly UNIX syscall pig
> >that is ioctl() couldn't be genetically engineered to concatenate
> >files as well ...
>
> No, not ioctl(), fcntl()! You guys just don't understand the clear distinction
> between the two interfaces :-)
hmnn.
fcntl(fd1, F_CAT, fd2);
Looks good to me and just for good measure lets have:
typedef struct fsplit_s {
int fs_nfd;
off_t fs_off;
} fsplit_t;
fcntl(fd1, F_SPLIT, &split_info);
:-) Okay I'm being silly but Casper's point is well taken fcntl(2)
seems to be the perfect place to extend for this type of work.
--
Darren J Moffat
_______________________________________________
ufs-discuss mailing list
[email protected]