---
name: "svc_xprt_names"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/svc_xprt_names"
---

# svc\_xprt\_names(9)

format a buffer with a list of transport names

## NAME

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
