diff options
Diffstat (limited to 'libtmpfile.html')
-rw-r--r-- | libtmpfile.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtmpfile.html b/libtmpfile.html index dca1f472..6a7e53d9 100644 --- a/libtmpfile.html +++ b/libtmpfile.html @@ -23,8 +23,8 @@ pm_tmpfile(void); <h2>EXAMPLE</h2> -<p>This simple example creates a temporary file, writes "hello -world" to it, then reads back and prints those contents. +<p>This simple example creates a temporary file, writes "hello +world" to it, then reads back and prints those contents. <pre> #include <netpbm/pm.h> @@ -33,13 +33,13 @@ FILE * myfileP; myfile = pm_tmpfile(); -fprintf(myfile, "hello world\n"); +fprintf(myfile, "hello world\n"); fseek(myfileP, 0, SEEK_SET); fread(buffer, sizeof(buffer), 1, myfileP); -fprintf(STDOUT, "temp file contains '%s'\n", buffer); +fprintf(STDOUT, "temp file contains '%s'\n", buffer); fclose(myfileP); |