Back to index

glibc  2.9
Functions
if_index.c File Reference
#include <net/if.h>
#include <errno.h>
#include <stddef.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

unsigned int if_nametoindex (const char *ifname)
 libc_hidden_def (if_nametoindex)
 libc_hidden_def (if_indextoname)
 stub_warning (if_freenameindex)

Function Documentation

unsigned int if_nametoindex ( const char *  ifname)

Definition at line 24 of file if_index.c.

{
  __set_errno (ENOSYS);
  return 0;
}

Here is the caller graph for this function:

Definition at line 29 of file if_index.c.

{
  __set_errno (ENOSYS);
  return NULL;
}

Definition at line 38 of file if_index.c.

{
}

Definition at line 45 of file if_index.c.

{
  __set_errno (ENOSYS);
  return NULL;
}