home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / Slackwar / docs / linux-2.0.34 / cdrom / cdrom-standard.tex / node25_ct.html < prev    next >
LaTeX Document  |  1996-08-16  |  1.8 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: node25_ct.html

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 49 6e | 74 26 6e 62 73 70 3b 72 |ts of In|t&nbsp;r|
|000000b0| 65 67 69 73 74 65 72 63 | 64 72 6f 6d 28 69 6e 74 |egisterc|drom(int|
|000000c0| 26 6e 62 73 70 3b 6d 61 | 6a 6f 72 2c 20 63 68 61 |&nbsp;ma|jor, cha|
|000000d0| 72 2a 6e 61 6d 65 2c 20 | 73 74 72 75 63 74 49 3e |r*name, |structI>|
|000000e0| 63 64 72 6f 6d 64 65 76 | 69 63 65 6f 70 73 26 6e |cdromdev|iceops&n|
|000000f0| 62 73 70 3b 2a 63 64 6f | 29 3c 2f 54 49 54 4c 45 |bsp;*cdo|)</TITLE|
|00000100| 3e 0a 0a 3c 4d 45 54 41 | 20 48 54 54 50 2d 45 51 |>..<META| HTTP-EQ|
|00000110| 55 49 56 3d 22 43 6f 6e | 74 65 6e 74 2d 54 79 70 |UIV="Con|tent-Typ|
|00000120| 65 22 20 43 4f 4e 54 45 | 4e 54 3d 22 74 65 78 74 |e" CONTE|NT="text|
|00000130| 2f 68 74 6d 6c 3b 20 63 | 68 61 72 73 65 74 3d 75 |/html; c|harset=u|
|00000140| 74 66 2d 38 22 3e 0a 3c | 4d 45 54 41 20 4e 41 4d |tf-8">.<|META NAM|
|00000150| 45 3d 22 76 69 65 77 70 | 6f 72 74 22 20 43 4f 4e |E="viewp|ort" CON|
|00000160| 54 45 4e 54 3d 22 77 69 | 64 74 68 3d 64 65 76 69 |TENT="wi|dth=devi|
|00000170| 63 65 2d 77 69 64 74 68 | 2c 20 69 6e 69 74 69 61 |ce-width|, initia|
|00000180| 6c 2d 73 63 61 6c 65 3d | 31 2e 30 22 3e 0a 3c 4d |l-scale=|1.0">.<M|
|00000190| 45 54 41 20 4e 41 4d 45 | 3d 22 47 65 6e 65 72 61 |ETA NAME|="Genera|
|000001a0| 74 6f 72 22 20 43 4f 4e | 54 45 4e 54 3d 22 4c 61 |tor" CON|TENT="La|
|000001b0| 54 65 58 32 48 54 4d 4c | 20 76 32 30 32 32 22 3e |TeX2HTML| v2022">|
|000001c0| 0a 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 53 54 59 |..<LINK |REL="STY|
|000001d0| 4c 45 53 48 45 45 54 22 | 20 48 52 45 46 3d 22 63 |LESHEET"| HREF="c|
|000001e0| 64 72 6f 6d 2d 73 74 61 | 6e 64 61 72 64 2e 63 73 |drom-sta|ndard.cs|
|000001f0| 73 22 3e 0a 0a 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |s">..<LI|NK REL="|
|00000200| 6e 65 78 74 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |next" HR|EF="node|
|00000210| 32 36 5f 6d 6e 2e 68 74 | 6d 6c 22 3e 0a 3c 4c 49 |26_mn.ht|ml">.<LI|
|00000220| 4e 4b 20 52 45 4c 3d 22 | 70 72 65 76 69 6f 75 73 |NK REL="|previous|
|00000230| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 32 34 5f 6d |" HREF="|node24_m|
|00000240| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|00000250| 45 4c 3d 22 75 70 22 20 | 48 52 45 46 3d 22 6e 6f |EL="up" |HREF="no|
|00000260| 64 65 32 33 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |de23_mn.|html">.<|
|00000270| 4c 49 4e 4b 20 52 45 4c | 3d 22 6e 65 78 74 22 20 |LINK REL|="next" |
|00000280| 48 52 45 46 3d 22 6e 6f | 64 65 32 36 5f 6d 6e 2e |HREF="no|de26_mn.|
|00000290| 68 74 6d 6c 22 3e 0a 3c | 2f 48 45 41 44 3e 0a 20 |html">.<|/HEAD>. |
|000002a0| 0a 3c 42 4f 44 59 20 62 | 67 63 6f 6c 6f 72 3d 22 |.<BODY b|gcolor="|
|000002b0| 23 66 66 66 66 66 66 22 | 20 74 65 78 74 3d 22 23 |#ffffff"| text="#|
|000002c0| 30 30 30 30 30 30 22 20 | 6c 69 6e 6b 3d 22 23 39 |000000" |link="#9|
|000002d0| 39 34 34 45 45 22 20 76 | 6c 69 6e 6b 3d 22 23 30 |944EE" v|link="#0|
|000002e0| 30 30 30 66 66 22 20 61 | 6c 69 6e 6b 3d 22 23 30 |000ff" a|link="#0|
|000002f0| 30 66 66 30 30 22 3e 0a | 0a 3c 48 32 3e 3c 41 20 |0ff00">.|.<H2><A |
|00000300| 49 44 3d 22 53 45 43 54 | 49 4f 4e 30 30 30 34 32 |ID="SECT|ION00042|
|00000310| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 22 |00000000|0000000"|
|00000320| 3e 0a 3c 21 2d 2d 20 4d | 41 54 48 0a 20 24 49 6e |>.<!-- M|ATH. $In|
|00000330| 74 5c 20 72 65 67 69 73 | 74 65 72 5f 63 64 72 6f |t\ regis|ter_cdro|
|00000340| 6d 28 69 6e 74 5c 20 6d | 61 6a 6f 72 2c 20 63 68 |m(int\ m|ajor, ch|
|00000350| 61 72 20 2a 20 6e 61 6d | 65 2c 20 73 74 72 75 63 |ar * nam|e, struc|
|00000360| 74 5c 0a 63 64 72 6f 6d | 5f 64 65 76 69 63 65 5f |t\.cdrom|_device_|
|00000370| 6f 70 73 5c 20 2a 20 63 | 64 6f 29 24 0a 20 2d 2d |ops\ * c|do)$. --|
|00000380| 3e 0a 3c 49 3e 49 6e 74 | 3c 2f 49 3e 26 6e 62 73 |>.<I>Int|</I>&nbs|
|00000390| 70 3b 3c 49 3e 72 65 67 | 69 73 74 65 72 3c 2f 49 |p;<I>reg|ister</I|
|000003a0| 3e 3c 53 55 42 3e 63 3c | 2f 53 55 42 3e 3c 49 3e |><SUB>c<|/SUB><I>|
|000003b0| 64 72 6f 6d 3c 2f 49 3e | 28 3c 49 3e 69 6e 74 3c |drom</I>|(<I>int<|
|000003c0| 2f 49 3e 26 6e 62 73 70 | 3b 3c 49 3e 6d 61 6a 6f |/I>&nbsp|;<I>majo|
|000003d0| 72 3c 2f 49 3e 2c 20 3c | 49 3e 63 68 61 72 3c 2f |r</I>, <|I>char</|
|000003e0| 49 3e 2a 3c 49 3e 6e 61 | 6d 65 3c 2f 49 3e 2c 20 |I>*<I>na|me</I>, |
|000003f0| 3c 49 3e 73 74 72 75 63 | 74 3c 2f 49 3e 49 3e 63 |<I>struc|t</I>I>c|
|00000400| 64 72 6f 6d 3c 2f 49 3e | 3c 53 55 42 3e 64 3c 2f |drom</I>|<SUB>d</|
|00000410| 53 55 42 3e 3c 49 3e 65 | 76 69 63 65 3c 2f 49 3e |SUB><I>e|vice</I>|
|00000420| 3c 53 55 42 3e 6f 3c 2f | 53 55 42 3e 3c 49 3e 70 |<SUB>o</|SUB><I>p|
|00000430| 73 3c 2f 49 3e 26 6e 62 | 73 70 3b 2a 3c 49 3e 63 |s</I>&nb|sp;*<I>c|
|00000440| 64 6f 3c 2f 49 3e 29 3c | 2f 41 3e 0a 3c 2f 48 32 |do</I>)<|/A>.</H2|
|00000450| 3e 0a 3c 50 3e 0a 3c 54 | 54 3e 53 69 6d 69 6c 61 |>.<P>.<T|T>Simila|
|00000460| 72 20 74 6f 20 72 65 67 | 69 73 74 65 72 69 6e 67 |r to reg|istering|
|00000470| 20 3c 21 2d 2d 20 4d 41 | 54 48 0a 20 24 63 64 72 | <!-- MA|TH. $cdr|
|00000480| 6f 6d 5f 66 6f 70 73 24 | 0a 20 2d 2d 3e 0a 3c 49 |om_fops$|. -->.<I|
|00000490| 3e 63 64 72 6f 6d 3c 2f | 49 3e 3c 53 55 42 3e 66 |>cdrom</|I><SUB>f|
|000004a0| 3c 2f 53 55 42 3e 3c 49 | 3e 6f 70 73 3c 2f 49 3e |</SUB><I|>ops</I>|
|000004b0| 20 74 6f 20 74 68 65 20 | 6b 65 72 6e 65 6c 2c 20 | to the |kernel, |
|000004c0| 74 68 65 20 64 65 76 69 | 63 65 0a 6f 70 65 72 61 |the devi|ce.opera|
|000004d0| 74 69 6f 6e 73 20 73 74 | 72 75 63 74 75 72 65 2c |tions st|ructure,|
|000004e0| 20 61 73 20 64 65 73 63 | 72 69 62 65 64 20 69 6e | as desc|ribed in|
|000004f0| 20 73 65 63 74 69 6f 6e | 26 6e 62 73 70 3b 3c 41 | section|&nbsp;<A|
|00000500| 20 48 52 45 46 3d 22 6e | 6f 64 65 32 5f 63 74 2e | HREF="n|ode2_ct.|
|00000510| 68 74 6d 6c 23 63 64 72 | 6f 6d 2e 63 22 3e 3c 49 |html#cdr|om.c"><I|
|00000520| 4d 47 20 20 41 4c 54 3d | 22 5b 2a 5d 22 20 53 52 |MG ALT=|"[*]" SR|
|00000530| 43 3d 22 63 72 6f 73 73 | 72 65 66 2e 70 6e 67 22 |C="cross|ref.png"|
|00000540| 3e 3c 2f 41 3e 2c 20 73 | 68 6f 75 6c 64 20 62 65 |></A>, s|hould be|
|00000550| 0a 72 65 67 69 73 74 65 | 72 65 64 20 74 6f 20 74 |.registe|red to t|
|00000560| 68 65 20 67 65 6e 65 72 | 61 6c 20 43 44 3c 53 4d |he gener|al CD<SM|
|00000570| 41 4c 4c 3e 52 4f 4d 3c | 2f 53 4d 41 4c 4c 3e 20 |ALL>ROM<|/SMALL> |
|00000580| 69 6e 74 65 72 66 61 63 | 65 3a 0a 3c 2f 54 54 3e |interfac|e:.</TT>|
|00000590| 3c 50 3e 3c 21 2d 2d 20 | 4d 41 54 48 0a 20 5c 62 |<P><!-- |MATH. \b|
|000005a0| 65 67 69 6e 7b 64 69 73 | 70 6c 61 79 6d 61 74 68 |egin{dis|playmath|
|000005b0| 7d 0a 72 65 67 69 73 74 | 65 72 5f 63 64 72 6f 6d |}.regist|er_cdrom|
|000005c0| 28 6d 61 6a 6f 72 2c 20 | 3c 6e 61 6d 65 3e 2c 20 |(major, |<name>, |
|000005d0| 5c 26 3c 64 65 76 69 63 | 65 3e 5f 64 6f 70 73 29 |\&<devic|e>_dops)|
|000005e0| 3b 0a 5c 65 6e 64 7b 64 | 69 73 70 6c 61 79 6d 61 |;.\end{d|isplayma|
|000005f0| 74 68 7d 0a 20 2d 2d 3e | 0a 3c 2f 50 3e 0a 3c 44 |th}. -->|.</P>.<D|
|00000600| 49 56 20 41 4c 49 47 4e | 3d 22 43 45 4e 54 45 52 |IV ALIGN|="CENTER|
|00000610| 22 3e 0a 3c 49 3e 72 65 | 67 69 73 74 65 72 3c 2f |">.<I>re|gister</|
|00000620| 49 3e 3c 53 55 42 3e 63 | 3c 2f 53 55 42 3e 3c 49 |I><SUB>c|</SUB><I|
|00000630| 3e 64 72 6f 6d 3c 2f 49 | 3e 28 3c 49 3e 6d 61 6a |>drom</I|>(<I>maj|
|00000640| 6f 72 3c 2f 49 3e 2c 20 | 26 6c 74 3b 20 3c 49 3e |or</I>, |&lt; <I>|
|00000650| 6e 61 6d 65 3c 2f 49 3e | 20 26 67 74 3b 20 2c 20 |name</I>| &gt; , |
|00000660| 26 6e 62 73 70 3b 3c 49 | 3e 53 50 4d 61 6d 70 3c |&nbsp;<I|>SPMamp<|
|00000670| 2f 49 3e 3b 20 26 6c 74 | 3b 20 3c 49 3e 64 65 76 |/I>; &lt|; <I>dev|
|00000680| 69 63 65 3c 2f 49 3e 20 | 26 67 74 3b 20 3c 53 55 |ice</I> |&gt; <SU|
|00000690| 42 3e 64 3c 2f 53 55 42 | 3e 3c 49 3e 6f 70 73 3c |B>d</SUB|><I>ops<|
|000006a0| 2f 49 3e 29 3b 0a 3c 2f | 44 49 56 3e 3c 50 3e 3c |/I>);.</|DIV><P><|
|000006b0| 2f 50 3e 3c 54 54 3e 0a | 54 68 69 73 20 66 75 6e |/P><TT>.|This fun|
|000006c0| 63 74 69 6f 6e 20 72 65 | 74 75 72 6e 73 20 7a 65 |ction re|turns ze|
|000006d0| 72 6f 20 75 70 6f 6e 20 | 73 75 63 63 65 73 73 2c |ro upon |success,|
|000006e0| 20 61 6e 64 20 6e 6f 6e | 2d 7a 65 72 6f 20 75 70 | and non|-zero up|
|000006f0| 6f 6e 20 66 61 69 6c 75 | 72 65 2e 20 0a 3c 2f 54 |on failu|re. .</T|
|00000700| 54 3e 0a 3c 50 3e 0a 3c | 48 52 3e 0a 0a 3c 2f 42 |T>.<P>.<|HR>..</B|
|00000710| 4f 44 59 3e 0a 3c 2f 48 | 54 4d 4c 3e 0a |ODY>.</H|TML>. |
+--------+-------------------------+-------------------------+--------+--------+