doc-rst: customize RTD theme, captions & inline literal
[deliverable/linux.git] / Documentation / linux_tv / media / dvb / net-remove-if.rst
CommitLineData
47d23e36
MCC
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _NET_REMOVE_IF:
4
5*******************
6ioctl NET_REMOVE_IF
7*******************
8
586027ce
MCC
9NAME
10====
47d23e36 11
586027ce 12NET_REMOVE_IF - Removes a network interface.
47d23e36 13
586027ce 14SYNOPSIS
47d23e36
MCC
15========
16
17.. cpp:function:: int ioctl( int fd, int request, int ifnum )
18
586027ce
MCC
19
20ARGUMENTS
47d23e36
MCC
21=========
22
23``fd``
24 File descriptor returned by :ref:`open() <frontend_f_open>`.
25
26``request``
27 FE_SET_TONE
28
29``net_if``
30 number of the interface to be removed
31
32
586027ce 33DESCRIPTION
47d23e36
MCC
34===========
35
36The NET_REMOVE_IF ioctl deletes an interface previously created via
37:ref:`NET_ADD_IF <net>`.
38
586027ce 39
47d23e36 40RETURN VALUE
586027ce 41============
47d23e36
MCC
42
43On success 0 is returned, on error -1 and the ``errno`` variable is set
44appropriately. The generic error codes are described at the
45:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.026066 seconds and 5 git commands to generate.