summary refs log tree commit diff
path: root/bin/man1/c.1
blob: 97384ebe6016b37feadccd18948235a23926538e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.Dd January  9, 2021
.Dt C 1
.Os
.
.Sh NAME
.Nm c
.Nd run C
.
.Sh SYNOPSIS
.Nm
.Op Fl t
.Op Fl e Ar expr
.Op Fl i Ar include
.Op Ar stmts ...
.
.Sh DESCRIPTION
The
.Nm
utility compiles and runs
C statements wrapped in
.Fn main
with common includes.
If no
.Ar expr
or
.Ar stmts
are provided,
statements are read from standard input.
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl e Ar expr
Print the result of the C expression
.Ar expr
after executing
.Ar stmts .
.It Fl i Ar include
Add the include file
.Ar include .
.It Fl t
With
.Fl e ,
print the type of the expression.
.El
d>John Keeping 2013-04-15tests: set TEST_OUTPUT_DIRECTORY to the CGit test directoryJohn Keeping 2013-04-15t0109: test more URLsJohn Keeping 2013-04-10cgitrc.5.txt: Specify when scan-path must be defined before.Jason A. Donenfeld 2013-04-10ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer 2013-04-10t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer 2013-04-10tests/: Do not use `sed -i`Lukas Fleischer 2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld 2013-04-10t0109: chain operations with &&John Keeping 2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer 2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer