diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-05 09:07:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:35 -0400 |
commit | 6d1724925d4da49b84161f1440912205576b7935 (patch) | |
tree | e5adf312529fd2edf89ed7f992946eaf9213eefa /Documentation/DocBook/media_api.tmpl | |
parent | 28720944d86b4d187360daa8be67dd22cb4e897b (diff) |
[media] DocBook: Add a chapter to describe media errors
There are several errors reported by V4L that aren't described.
They can occur on almost all ioctl's. Instead of adding them
into each ioctl, create a new chapter.
For V4L, the new chapter will automatically be listed on all
places, as there's a macro used everywhere there.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media_api.tmpl')
-rw-r--r-- | Documentation/DocBook/media_api.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/DocBook/media_api.tmpl b/Documentation/DocBook/media_api.tmpl index 88f2cc680cc2..c273e3c54fc5 100644 --- a/Documentation/DocBook/media_api.tmpl +++ b/Documentation/DocBook/media_api.tmpl | |||
@@ -8,7 +8,7 @@ | |||
8 | <!ENTITY ie "i. e."> | 8 | <!ENTITY ie "i. e."> |
9 | <!ENTITY fd "File descriptor returned by <link linkend='func-open'><function>open()</function></link>."> | 9 | <!ENTITY fd "File descriptor returned by <link linkend='func-open'><function>open()</function></link>."> |
10 | <!ENTITY i2c "I<superscript>2</superscript>C"> | 10 | <!ENTITY i2c "I<superscript>2</superscript>C"> |
11 | <!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately:</para>"> | 11 | <!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>"> |
12 | <!ENTITY manvol "<manvolnum>2</manvolnum>"> | 12 | <!ENTITY manvol "<manvolnum>2</manvolnum>"> |
13 | 13 | ||
14 | <!-- Table templates: structs, structs w/union, defines. --> | 14 | <!-- Table templates: structs, structs w/union, defines. --> |
@@ -110,6 +110,11 @@ Foundation. A copy of the license is included in the chapter entitled | |||
110 | &sub-media-controller; | 110 | &sub-media-controller; |
111 | </part> | 111 | </part> |
112 | 112 | ||
113 | <chapter id="gen_errors"> | ||
114 | &sub-gen-errors; | ||
115 | </chapter> | ||
116 | |||
117 | |||
113 | &sub-fdl-appendix; | 118 | &sub-fdl-appendix; |
114 | 119 | ||
115 | </book> | 120 | </book> |