1IF_FREENAMEINDEX(P)        POSIX Programmer's Manual       IF_FREENAMEINDEX(P)
2
3
4

NAME

6       if_freenameindex - free memory allocated by if_nameindex
7

SYNOPSIS

9       #include <net/if.h>
10
11       void if_freenameindex(struct if_nameindex *ptr);
12
13

DESCRIPTION

15       The  if_freenameindex()  function  shall  free  the memory allocated by
16       if_nameindex(). The ptr argument shall be a pointer that  was  returned
17       by if_nameindex(). After if_freenameindex() has been called, the appliā€
18       cation shall not use the array of which ptr is the address.
19

RETURN VALUE

21       None.
22

ERRORS

24       No errors are defined.
25
26       The following sections are informative.
27

EXAMPLES

29       None.
30

APPLICATION USAGE

32       None.
33

RATIONALE

35       None.
36

FUTURE DIRECTIONS

38       None.
39

SEE ALSO

41       getsockopt() , if_indextoname() , if_nameindex() ,  if_nametoindex()  ,
42       setsockopt()  ,  the  Base  Definitions volume of IEEE Std 1003.1-2001,
43       <net/if.h>
44
46       Portions of this text are reprinted and reproduced in  electronic  form
47       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
48       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
49       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
50       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
51       event of any discrepancy between this version and the original IEEE and
52       The Open Group Standard, the original IEEE and The Open Group  Standard
53       is  the  referee document. The original Standard can be obtained online
54       at http://www.opengroup.org/unix/online.html .
55
56
57
58IEEE/The Open Group                  2003                  IF_FREENAMEINDEX(P)
Impressum