man3rmt/lclCMD

Table of Contents

Name

lclCMD - local - send a command

Description

lclCMD sends a CMD record to dbman.

The request is passed in local mode.

This function is part of librmt.

Syntax

int lclCMD(
int fo,
char C,
char Cs,
LABEL *Lpnt,
DESC *Dpnt,
double V,
double Vp,
int E,
int verbosity
);

Arguments

fo

The file descriptor for the connection to dbman.

C

CMD.FuncCode

Cs

CMD.SubCode

Lpnt

CMD.LabelPnt

Dpnt

CMD.DescPnt

V

CMD.Value

Vp

CMD.PrevValue

E

CMD.error

verbosity

Defines the amount of messages to print. This value is passed on to SendRec. A value of 0 produces no messages. See the SendRec manpage for full details on available values.

Return Values

ERRok is returned if the transaction is successful.
ERRbadp is returned for bad pointers.
The error code from the transaction is returned if there is a communications error.

See Also

librmt(3rmt)

Manual page revision

$Id: lclCMD.3,v 1.2 2008/08/22 16:21:09 mcnamer Exp $


Table of Contents