diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-01-07 19:04:12 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-01-07 19:04:12 +0100 |
commit | 4308f6e7e6586e3a27aa46c4d54c434b8533b16d (patch) | |
tree | 5a0229a80dd8dd900a9dbec809481c8538a80161 /sys/src/ape/lib/fmt/test.c | |
parent | 772afbe98c7e74be35e7e5318967ce594e4d93e8 (diff) |
ape/fmt: %p and %z format for amd64
Diffstat (limited to 'sys/src/ape/lib/fmt/test.c')
-rw-r--r-- | sys/src/ape/lib/fmt/test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/ape/lib/fmt/test.c b/sys/src/ape/lib/fmt/test.c index a1a1d5edc..3d082a816 100644 --- a/sys/src/ape/lib/fmt/test.c +++ b/sys/src/ape/lib/fmt/test.c @@ -35,5 +35,7 @@ main(int argc, char *argv[]) print("%f\n", 3.1415927/4); print("%d\n", 23); print("%i\n", 23); + print("%p\n", argv); + print("%zd\n", &argv[1] - &argv[0]); return 0; } |