SysTutorials

Linux Manual Pages › Section 9

svc_xprt_names(9)

svc_xprt_names - format a buffer with a list of transport names

Synopsis

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

Arguments

serv

pointer to an RPC service

buf

pointer to a buffer to be filled in

buflen

length of buffer to be filled in

Description

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.

Copyright