| .. -*- coding: utf-8; mode: rst -*- |
| NET_REMOVE_IF - Removes a network interface. |
| .. c:function:: int ioctl( int fd, NET_REMOVE_IF, int ifnum ) |
| File descriptor returned by :ref:`open() <frontend_f_open>`. |
| number of the interface to be removed |
| The NET_REMOVE_IF ioctl deletes an interface previously created via |
| On success 0 is returned, and :c:type:`ca_slot_info` is filled. |
| On error -1 is returned, and the ``errno`` variable is set |
| The generic error codes are described at the |
| :ref:`Generic Error Codes <gen-errors>` chapter. |