1dlpi_unbind(3DLPID)ata Link Provider Interface Library Functiondslpi_unbind(3DLPI)
2
3
4

NAME

6       dlpi_unbind - unbind DLPI handle
7

SYNOPSIS

9       cc [ flag ... ] file ... -ldlpi [ library ... ]
10       #include <libdlpi.h>
11
12       int dlpi_unbind(dlpi_handle_t dh);
13
14

DESCRIPTION

16       The  dlpi_unbind() function unbinds to bind the DLPI handle dh from the
17       bound SAP. The handle must be in the DL_IDLE DLPI state and  upon  suc‐
18       cess, the handle transitions to the DL_UNBOUND state.
19
20
21       Upon success, the caller will no longer be able to send or receive data
22       using the DLPI link associated with dh.
23

RETURN VALUES

25       Upon success, DLPI_SUCCESS is returned. If DL_SYSERR is returned, errno
26       contains  the specific UNIX system error value. Otherwise, a DLPI error
27       value defined in <sys/dlpi.h> or an error value DLPI_ETIMEDOUT will  be
28       returned.
29

ERRORS

31       DLPI_EBADMSG      Bad DLPI message
32
33
34       DLPI_EINHANDLE    Invalid DLPI handle
35
36
37       DLPI_ETIMEDOUT    DLPI operation timed out
38
39

ATTRIBUTES

41       See attributes(5) for description of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Interface Stability          │Committed                    │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │MT-Level                     │Safe                         │
52       └─────────────────────────────┴─────────────────────────────┘
53

SEE ALSO

55       dlpi_bind(3DLPI), libdlpi(3LIB), attributes(5)
56
57
58
59SunOS 5.11                        22 Aug 2007               dlpi_unbind(3DLPI)
Impressum