Commit | Line | Data |
---|---|---|
47d23e36 MCC |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _DMX_SET_SOURCE: | |
4 | ||
586027ce | 5 | ============== |
47d23e36 MCC |
6 | DMX_SET_SOURCE |
7 | ============== | |
8 | ||
15e7d615 | 9 | Name |
586027ce | 10 | ---- |
47d23e36 | 11 | |
586027ce | 12 | DMX_SET_SOURCE |
47d23e36 | 13 | |
15e7d615 MCC |
14 | |
15 | Synopsis | |
47d23e36 MCC |
16 | -------- |
17 | ||
180965cb | 18 | .. c:function:: int ioctl(fd, DMX_SET_SOURCE, struct dmx_source *src) |
cf8076c3 | 19 | :name: DMX_SET_SOURCE |
47d23e36 | 20 | |
47d23e36 | 21 | |
15e7d615 | 22 | Arguments |
586027ce | 23 | --------- |
47d23e36 | 24 | |
47d23e36 | 25 | |
cf8076c3 MCC |
26 | ``fd`` |
27 | File descriptor returned by :c:func:`open() <dvb-dmx-open>`. | |
47d23e36 | 28 | |
cf8076c3 MCC |
29 | ``src`` |
30 | Undocumented. | |
47d23e36 MCC |
31 | |
32 | ||
15e7d615 | 33 | Description |
586027ce MCC |
34 | ----------- |
35 | ||
cf8076c3 | 36 | .. note:: This ioctl is undocumented. Documentation is welcome. |
586027ce MCC |
37 | |
38 | ||
15e7d615 | 39 | Return Value |
47d23e36 MCC |
40 | ------------ |
41 | ||
42 | On success 0 is returned, on error -1 and the ``errno`` variable is set | |
43 | appropriately. The generic error codes are described at the | |
44 | :ref:`Generic Error Codes <gen-errors>` chapter. |