Relinquishes access to a network device.
#include <sys/ndd.h>
void ns_free (nddp)
struct ndd * nddp;
Item | Description |
---|---|
nddp | Specifies the ndd structure of the network device that is to be freed from use. |
The ns_free network service relinquishes access to a network device. The ns_free network service also decrements the reference count for the specified ndd structure. If the reference count becomes 0, the ns_free network service calls the ndd_close subroutine specified in the ndd structure.
The following example illustrates the ns_free network service:
struct ndd *nddp
ns_free(nddp);
Item | Description |
---|---|
net/cdli.c |