Adjust link to ioctl-number.rst

This commit is contained in:
Cyril Brulebois 2021-08-16 21:22:53 +02:00
parent c43c01db31
commit 98aa78e4d2

View File

@ -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}