ds_deregister()

deregister an application with the data server

Synopsis:

#include <ds.h>

int ds_deregister( ds_t dsdes );

Description:

The ds_deregister() function deregisters your application with the data server, dsdes, and deletes any variables that the data server process created, except those with the DS_PERM flag set (see ds_flags()).

The dsdes argument is a data server descriptor returned by ds_register().

Returns:

0
Success.
-1
An error occurred; errno is set.

Examples:

See the Writing Data Server Applications chapter.

Classification:

QNX

Safety:
Interrupt handler No
Signal handler Yes, but modifies errno
Thread Yes

See also:

ds_flags(), ds_register()