summaryrefslogtreecommitdiffstats
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
commitf8188fab4e3bf3c7e3be06da1efc8fd9b5dbbd91 (patch)
tree8e55264b6d73c47f6b9053862d62fa51b5db5122
parentf05fab50754086263be0c86bfd2ef2eeecfa455d (diff)
downloadtxr-f8188fab4e3bf3c7e3be06da1efc8fd9b5dbbd91.tar.gz
txr-f8188fab4e3bf3c7e3be06da1efc8fd9b5dbbd91.tar.bz2
txr-f8188fab4e3bf3c7e3be06da1efc8fd9b5dbbd91.zip
doc: C code formatting issue.
* txr.1: typeset couple of example printf calls properly in discussion of variadic FFI call descriptors.
-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