chiark / gitweb /
67a31d247376677c38afd6e896af15744f34382b
[mLib] / test / tvec-main.3
1 .\" -*-nroff-*-
2 .de VS
3 .sp 1
4 .RS
5 .nf
6 .ft B
7 ..
8 .de VE
9 .ft R
10 .fi
11 .RE
12 .sp 1
13 ..
14 .de hP
15 .IP
16 .ft B
17 \h'-\w'\\$1\ 'u'\\$1\ \c
18 .ft P
19 ..
20 .ie t \{\
21 .  ds o \(bu
22 .  de VP
23 .    sp .4v
24 ..
25 \}
26 .el \{\
27 .  ds o o
28 .  de VP
29 .    sp
30 ..
31 \}
32 ..
33 .TH tvec-main 3 "11 March 2024" "Straylight/Edgeware" "mLib utilities library"
34 .SH NAME
35 tvec-main \- test vector framework program frontend
36 .\" @tvec_parseargs
37 .\" @tvec_readstdin
38 .\" @tvec_readfile
39 .\" @tvec_readarg
40 .\" @tvec_readdflt
41 .\" @tvec_readargs
42 .\" @tvec_main
43 .
44 .SH SYNOPSIS
45 .nf
46 .B "#include <mLib/tvec.h>"
47 .PP
48 .ta \w'\fBvoid tvec_parseargs('u
49 .BI "void tvec_parseargs(int " argc ", char *" argv "[],"
50 .BI "   struct tvec_state *" tv_out ,
51 .BI "   int *" argpos_out ,
52 .BI "   const struct tvec_config *" config );
53 .BI "int tvec_readstdin(struct tvec_state *" tv );
54 .BI "int tvec_readfile(struct tvec_state *" tv ", const char *" file );
55 .BI "int tvec_readarg(struct tvec_state *" tv ", const char *" arg );
56 .BI "int tvec_readdflt(struct tvec_state *" tv ", const char *" file );
57 .ta \w'\fBvoid tvec_readargs('u
58 .BI "void tvec_readargs(int " argc ", char *" argv "[],"
59 .BI "   struct tvec_state *" tv ,
60 .BI "   int *" argpos_out ", const char *" dflt );
61 .ta \w'\fBvoid tvec_main('u
62 .BI "void tvec_main(int " argc ", char *" argv "[],"
63 .BI "   const struct tvec_config *" config ", const char *" dflt );
64 .fi