Каталог требований LSB Core 3.1

Требования для функции 'svc_register'
StandardIDDescription
LSBsvc_register.01 The svc_register() function shall associate the program identified by prognum at version versnum with the service dispatch procedure, dispatch.
LSBsvc_register.02 If protocol is zero, the service is not registered with the portmap service.
LSBsvc_register.03 If protocol is non-zero, then a mapping of the triple [prognum, versnum, protocol] to xprt->xp_port is established with the local portmap service.
LSBapp.svc_register.04 The procedure dispatch has the following form:int dispatch(struct svc_req * request, SVCXPRT * xprt);
LSBsvc_register.05 svc_register() returns 1 if it succeeds,
LSBsvc_register.06 and zero otherwise.