__xsrvc() — Return Control from Service

Purpose

This routine operates in the server part of a user-server application. It is used to indicate completion of the last-requested service and to get the information required for the next service to be performed. The function is also available under the name EDCXSRVC.

__xsrvc() is specific to SP C. It is part of the client-server group of functions.

Format

#include <spc.h>

void *__xsrvc(int message);

The message is the return code for the last-requested service.