mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-03-13 14:05:10 +08:00
Adjust link to ioctl-number.rst
This commit is contained in:
parent
c43c01db31
commit
98aa78e4d2
@ -1153,8 +1153,7 @@ This header file should then be included both by the programs which will use ioc
|
||||
In the example below, the header file is chardev.h and the program which uses it is ioctl.c.
|
||||
|
||||
If you want to use ioctls in your own kernel modules, it is best to receive an official ioctl assignment, so if you accidentally get somebody else's ioctls, or if they get yours, you'll know something is wrong.
|
||||
% FIXME: use the right entry about ioctl assignment
|
||||
For more information, consult the kernel source tree at \src{Documentation/driver-api/ioctl.rst}.
|
||||
For more information, consult the kernel source tree at \src{Documentation/userspace-api/ioctl/ioctl-number.rst}.
|
||||
|
||||
\samplec{examples/chardev2.c}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user