sandbox_delete()

Delete a sandbox.

Synopsis:

#include <sandbox.h>

int sandbox_delete(int sbid);

Arguments:

sbid
The identifier of the sandbox to remove.

Library:

libsandbox

Use the -l sandbox option to qcc to link against this library.

Description:

This function deletes a sandbox.

Returns:

0
Sandbox successfully deleted.
negative value
An error occurred (errno is NOT set, the value is the negative of a value from the Errors section).

Errors:

EBUSY
The sandbox is still associated with a process.
EINVAL
The sandbox identifier is not valid.

Classification:

QNX Neutrino

Safety:  
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes