expr(3)

expr3

C-like expression library

Usage

#include <graphviz/expr.h>
Expr_t*          exopen(Exdisc_t*);
Excc_t*          exccopen(Expr_t*, Exccdisc_t*);
int              exccclose(Excc_t*);
void             exclose(Expr_t*, int);
char*            excontext(Expr_t*, char*, int);
void             exerror(const char*, ...);
Extype_t         exeval(Expr_t*, Exnode_t*, void*);
Exnode_t*        exexpr(Expr_t*, const char*, Exid_t*, int);
Exnode_t*        excast(Expr_t*, Exnode_t*, int, Exnode_t*, int);
Exnode_t*        exnewnode(Expr_t*, int, int, int, Exnode_t*, Exnode_t*);
void             exfreenode(Expr_t*, Exnode_t*);
int              expush(Expr_t*, const char*, int, const char*, FILE*);
int              expop(Expr_t*);
int              excomp(Expr_t*, const char*, int, const char*, FILE*);
int              extoken(Expr_t*);
char*            extype(long int);
Extype_t         exzero(long int);

Overview

exopen() is the first function called. exclose() is the last function called. exccopen() is the called if code generation will be used. exccclose() releases the state information allocated in exccopen().

Releases

3 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. Arch

From graphviz 16.1.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.