aboutsummaryrefslogtreecommitdiff
path: root/doc/fcopy.3
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-09-26 15:15:16 +0200
committeraxtloss <axtlos@getcryst.al>2024-09-26 15:15:16 +0200
commit27bb394bc0bf2ca66d06931bf1e73a3e20d5741a (patch)
tree99daf5b1fb77c5ad4ee3cb87a7dc5007269e0db5 /doc/fcopy.3
parent8996ee7580ed85b42b6399f9f64e29092ce21c41 (diff)
downloadextlib-27bb394bc0bf2ca66d06931bf1e73a3e20d5741a.tar.gz
extlib-27bb394bc0bf2ca66d06931bf1e73a3e20d5741a.tar.bz2
Add author section to manpages
Diffstat (limited to 'doc/fcopy.3')
-rw-r--r--doc/fcopy.312
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/fcopy.3 b/doc/fcopy.3
index 5096fe4..44cd869 100644
--- a/doc/fcopy.3
+++ b/doc/fcopy.3
@@ -56,13 +56,13 @@ main(void)
FILE *file_buf_a = open_memstream (&buf_a, &len_a);
FILE *file_buf_b = open_memstream (&buf_b, &len_b);
\&
- fprintf (file_test_a, "hello");
- fflush (file_test_a);
- fclose (file_test_a);
- file_test_a = fmemopen(buf_a, len_a, "r");
+ fprintf (file_buf_a, "hello");
+ fflush (file_buf_a);
+ fclose (file_buf_a);
+ file_buf_a = fmemopen(buf_a, len_a, "r");
\&
- fcopy (file_test_a, file_test_b);
- fclose (file_test_b);
+ fcopy (file_buf_a, file_buf_b);
+ fclose (file_buf_b);
\&
puts (buf_a);
puts (buf_b);