1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter&#160;15.&#160;Char devices</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><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="API-bdget-disk.html" title="bdget_disk"><link rel="next" href="API-register-chrdev-region.html" title="register_chrdev_region"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;15.&#160;Char devices</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-bdget-disk.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-register-chrdev-region.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="chrdev"></a>Chapter&#160;15.&#160;Char devices</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="refentrytitle"><a href="API-register-chrdev-region.html"><span class="phrase">register_chrdev_region</span></a></span><span class="refpurpose"> &#8212; 
2  register a range of device numbers
3 </span></dt><dt><span class="refentrytitle"><a href="API-alloc-chrdev-region.html"><span class="phrase">alloc_chrdev_region</span></a></span><span class="refpurpose"> &#8212; 
4     register a range of char device numbers
5 </span></dt><dt><span class="refentrytitle"><a href="API---register-chrdev.html"><span class="phrase">__register_chrdev</span></a></span><span class="refpurpose"> &#8212; 
6     create and register a cdev occupying a range of minors
7 </span></dt><dt><span class="refentrytitle"><a href="API-unregister-chrdev-region.html"><span class="phrase">unregister_chrdev_region</span></a></span><span class="refpurpose"> &#8212; 
8     return a range of device numbers
9 </span></dt><dt><span class="refentrytitle"><a href="API---unregister-chrdev.html"><span class="phrase">__unregister_chrdev</span></a></span><span class="refpurpose"> &#8212; 
10     unregister and destroy a cdev
11 </span></dt><dt><span class="refentrytitle"><a href="API-cdev-add.html"><span class="phrase">cdev_add</span></a></span><span class="refpurpose"> &#8212; 
12     add a char device to the system
13 </span></dt><dt><span class="refentrytitle"><a href="API-cdev-del.html"><span class="phrase">cdev_del</span></a></span><span class="refpurpose"> &#8212; 
14     remove a cdev from the system
15 </span></dt><dt><span class="refentrytitle"><a href="API-cdev-alloc.html"><span class="phrase">cdev_alloc</span></a></span><span class="refpurpose"> &#8212; 
16     allocate a cdev structure
17 </span></dt><dt><span class="refentrytitle"><a href="API-cdev-init.html"><span class="phrase">cdev_init</span></a></span><span class="refpurpose"> &#8212; 
18     initialize a cdev structure
19 </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="API-bdget-disk.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="API-register-chrdev-region.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">bdget_disk</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">register_chrdev_region</span></td></tr></table></div></body></html>
20