1dlpi_disabnotify(D3aDtLaPIL)ink Provider Interface Library Fundcltpiio_ndsisabnotify(3DLPI)
2
3
4
6 dlpi_disabnotify - disable DLPI notification
7
9 cc [ flag... ] file... -ldlpi [ library... ]
10 #include <libdlpi.h>
11
12 int dlpi_disabnotify(dlpi_handle_t dh, dlpi_notifyid_t id,
13 void **argp);
14
15
17 The dlpi_disabnotify() function disables the notification registration
18 associated with identifier id. If argp is not NULL, the argument arg
19 that was passed to dlpi_enabnotify(3DLPI) during registration is also
20 returned. This operation can be performed in any DLPI state of a han‐
21 dle.
22
23
24 Closing the DLPI handle dh will also remove all associated callback
25 functions.
26
28 Upon success, DLPI_SUCCESS is returned. If DL_SYSERR is returned, errno
29 contains the specific UNIX system error value. Otherwise, a DLPI error
30 value defined in <sys/dlpi.h> or an error value listed in the following
31 section is returned.
32
34 DLPI_EINHANDLE A DLPI handle is invalid.
35
36
37 DLPI_EINVAL An argument is invalid.
38
39
40 DLPI_ENOTEIDINVAL The DLPI notification ID is invalid.
41
42
43 DLPI_FAILURE The DLPI operation failed.
44
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Interface Stability │Committed │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │MT-Level │Safe │
58 └─────────────────────────────┴─────────────────────────────┘
59
61 dlpi_enabnotify(3DLPI), libdlpi(3LIB), attributes(5)
62
63
64
65SunOS 5.11 21 Sep 2007 dlpi_disabnotify(3DLPI)