<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>Chapter 15. Char devices</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="The Linux Kernel API" /><link rel="up" href="index.html" title="The Linux Kernel API" /><link rel="prev" href="re604.html" title="bdget_disk" /><link rel="next" href="re605.html" title="register_chrdev_region" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 15. Char devices</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re604.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="re605.html">Next</a></td></tr></table><hr /></div><div class="chapter" title="Chapter 15. Char devices"><div class="titlepage"><div><div><h2 class="title"><a id="chrdev"></a>Chapter 15. Char devices</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="refentrytitle"><a href="re605.html"><span>register_chrdev_region</span></a></span><span class="refpurpose"> — register a range of device numbers </span></dt><dt><span class="refentrytitle"><a href="re606.html"><span>alloc_chrdev_region</span></a></span><span class="refpurpose"> — register a range of char device numbers </span></dt><dt><span class="refentrytitle"><a href="re607.html"><span>__register_chrdev</span></a></span><span class="refpurpose"> — create and register a cdev occupying a range of minors </span></dt><dt><span class="refentrytitle"><a href="re608.html"><span>unregister_chrdev_region</span></a></span><span class="refpurpose"> — return a range of device numbers </span></dt><dt><span class="refentrytitle"><a href="re609.html"><span>__unregister_chrdev</span></a></span><span class="refpurpose"> — unregister and destroy a cdev </span></dt><dt><span class="refentrytitle"><a href="re610.html"><span>cdev_add</span></a></span><span class="refpurpose"> — add a char device to the system </span></dt><dt><span class="refentrytitle"><a href="re611.html"><span>cdev_del</span></a></span><span class="refpurpose"> — remove a cdev from the system </span></dt><dt><span class="refentrytitle"><a href="re612.html"><span>cdev_alloc</span></a></span><span class="refpurpose"> — allocate a cdev structure </span></dt><dt><span class="refentrytitle"><a href="re613.html"><span>cdev_init</span></a></span><span class="refpurpose"> — initialize a cdev structure </span></dt></dl></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re604.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="re605.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>bdget_disk</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>register_chrdev_region</span></td></tr></table></div></body></html>