fcntl

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Mar 15 10:18:39 AEST 1990


In article <1990Mar13.125755.9720 at granite.cr.bull.com> freedman at granite.cr.bull.com (Jerome Freedman) writes:
>  I know what the entry point(s) to ioctl are (I've seen
>enough drivers but where are the fcntl entry points?
>There is sort of an overlap there. Will a fcntl cause
>a call to dev_ioctl?

Well, it's not supposed to -- fcntl() was introduced specifically
to play with the file table entries, which is something the device
driver is not supposed to know (or care) about.



More information about the Comp.unix.questions mailing list