Back to index

glibc  2.9
ifaddrs.c File Reference
#include <ifaddrs.h>
#include <errno.h>
#include <stdlib.h>

Go to the source code of this file.


int getifaddrs (struct ifaddrs **ifap)
 libc_hidden_def (getifaddrs)

Function Documentation

int getifaddrs ( struct ifaddrs **  ifap)

Definition at line 28 of file ifaddrs.c.

  __set_errno (ENOSYS);
  return -1;

Definition at line 33 of file ifaddrs.c.

  if (ifa == NULL)
    return;                 /* a la free, why not? */

  /* Can't be called properly if getifaddrs never succeeded.  */
  abort ();

Here is the call graph for this function: