DragonFly kernel List (threaded) for 2003-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: splitting fnctl(), ioctl()
:Now that I'm back in town and had a chance to look at fcntl() again, I agree
:that this is a better approach. The syscall does copyin/copyout's only on
:a struct flock. Thus, I think kern_fcntl() will be prototyped as:
:
:int kern_fcntl(int fd, int cmd, struct flock *fl);
:
:For any cmd that doesn't take a struct flock, I'll just pass a null pointer.
:
:The ioctl() syscall will be an entirely different story.
:
:--
: David P. Reese, Jr. daver@xxxxxxxxxxxx
: http://www.gomerbud.com/daver/
Allright, sounds good.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]