svcraw_create Subroutine

Purpose

Creates a toy Remote Procedure Call (RPC) service transport handle for simulation.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>
SVCXPRT *svcraw_create ( )

Description

The svcraw_create subroutine creates a toy RPC service transport handle. The service transport handle is located within the address space of the process. If the corresponding RPC server resides in the same address space, then simulation of RPC and acquisition of RPC overheads, such as round-trip times, are done without kernel interference.

Return Values

Upon successful completion, this subroutine returns a pointer to a valid RPC transport handle. If unsuccessful, it returns a value of null.