This commit is contained in:
Kuan-Wei Chiu 2023-09-04 04:58:31 +08:00
parent d45485f637
commit ee617a1e53

View File

@ -1066,7 +1066,7 @@ Once we finish the initialization, we can add the char device to the system by u
int cdev_add(struct cdev *p, dev_t dev, unsigned count);
\end{code}
To find a example using the interface, you can see \verb|ioctl.c| described in section \ref{sec:device_files}.
To find an example using the interface, you can see \verb|ioctl.c| described in section \ref{sec:device_files}.
\subsection{Unregistering A Device}
\label{sec:unregister_device}