NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <lap/chLap.h>int svLapDelete(KnLapDesc *lapdesc);
The svLapDelete(2K) system call deletes the local access point the descriptor of which is pointed to by lapdesc.
If the corresponding lap has been created with the K_LAP_SAFE option set (see svLapCreate(2K)), svLapDelete(2K) will return only when all invocations currently in progress on this lap have completed. When a safe lap is deleted, the threads currently executing in the lap are aborted. These threads return with error from the invocation of the lap as described in (see lapInvoke(2K)).
Symbolic name bindings associated with this lap (see svLapBind(2K)) are not affected by svLapDelete(2K) and must be explicitly deleted (see svLapUnbind(2K)).
On success, svLapDelete(2K) returns K_OK. Otherwise, a negative error code is returned.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO