DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

kclt_create(NS)


kclt_create -- create kernel RPC client handles

Syntax

#include <sys/types.h>

kclt_create(nfd, fds, trans, tsdu, pgm, vers) int nfd; int *fds; int trans; int tsdu; ulong pgm; ulong vers;

Description

kclt_create is used to create client handles for kernel RPC clients to use. Currently, there are two kernel RPC clients: NFS and the lock manager.

nfd is the number of file descriptors in the array to which fds points. nfd controls the number of client handles which will be created using these file descriptors in conjunction with the rest of the arguments. trans is used as a ``transport identifier.'' It is intended to be used to differentiate between different transport and protocol implementations running concurrently on the host. In this implementation, always set the values for trans to 1. tsdu is the maximum transport service data unit that the transport can handle. pgm and vers are used when initializing the new client handles. The RPC call header is pre-serialized in the client handle for performance. pgm and vers are part of the RPC call header. In addition, trans, pgm, and vers are used internally to identify client handles for allocation.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005