svc_xprt_names — format a buffer with a list of transport names


int svc_xprt_names (struct svc_serv * serv,
 char * buf,
 const int buflen);


struct svc_serv * serv

pointer to an RPC service

char * buf

pointer to a buffer to be filled in

const int buflen

length of buffer to be filled in


Fills in buf with a string containing a list of transport names, each name terminated with '\n'.

Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.