From 726f537b717be57595091aad4e4f75aa75529a21 Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Thu, 21 Feb 2019 12:21:31 -0600 Subject: [PATCH] nit --- initial-reverse/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/initial-reverse/README.md b/initial-reverse/README.md index 0f058ce..3cfd64b 100644 --- a/initial-reverse/README.md +++ b/initial-reverse/README.md @@ -106,7 +106,8 @@ easy: `fopen()`, `getline()`, and `fclose()`. For printing (to screen, or to a file), use `fprintf()`. Note that it is easy to write to standard output by passing `stdout` to `fprintf()`; it is also -easy to write to a file by passing in the `FP*` returned by `fopen`. +easy to write to a file by passing in the value returned by `fopen`, e.g., +`fp=fopen(...); fprintf(fp, ...);`. The routine `malloc()` is useful for memory allocation. Perhaps for adding elements to a list?