5.6.2 Unadvertising Services
The tpunadvertise(3c) function removes the name of a service from the service table of the bulletin board so that the service is no longer advertised.
Use the following signature for the tpunadvertise()
function:
tpunadvertise(char *svcname)
char *svcname;
The tpunadvertise()
function contains one argument, which is described in the following table.
Table 5-6 tpunadvertise( ) FunctionArguments
Argument | Description |
---|---|
svcname
|
Pointer to the name of the service to be advertised. The service name must be a character string of up to 127 characters. Names longer than 127 characters are truncated. The NULL string is not a valid value. If it is specified, an error (TPEINVAL ) results.
|
Parent topic: Advertising and Unadvertising Services