summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-23 22:38:47 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-23 22:38:47 -0700
commit9f72c115e6f1e0aaae69b3e12996412ad1bbeb4d (patch)
tree8e55264b6d73c47f6b9053862d62fa51b5db5122 /txr.1
parent27ba3ad5321efe1393d3736703b7fec2c56e6eb9 (diff)
downloadtxr-9f72c115e6f1e0aaae69b3e12996412ad1bbeb4d.tar.gz
txr-9f72c115e6f1e0aaae69b3e12996412ad1bbeb4d.tar.bz2
txr-9f72c115e6f1e0aaae69b3e12996412ad1bbeb4d.zip
doc: C code formatting issue.
* txr.1: typeset couple of example printf calls properly in discussion of variadic FFI call descriptors.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.18
1 files changed, 6 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index 9ba9d20d..4f694360 100644
--- a/txr.1
+++ b/txr.1
@@ -54254,9 +54254,13 @@ of a variadic function, rather than the variadic function's type
To call the same variadic function using different variadic arguments,
different call descriptors are required. For instance to perform
the equivalent of the C function call
-.str printf("hello\en")
+.cblk
+printf("hello\en")
+.cble
requires a certain descriptor. To perform the equivalent of
-.str printf("hello, %s\en", name)
+.cblk
+printf("hello, %s\en", name)
+.cble
requires a different descriptor.
.coNP Function @ ffi-type-compile