From 2ba29af9d267f067ed96e7782b0185d811b17068 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Wed, 10 Sep 1997 21:17:38 +0200 Subject: [PATCH] File->open: ... truncate file at open, <i>How</i> Rev: tutorial/tutorial.wmml:1.25 --- tutorial/tutorial.wmml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index dd5d0bf555..3eb54b001c 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -3387,12 +3387,12 @@ contain one or more of the following letters: <tr valign=top><td> 'r' </td><td> open file for reading </td></tr> <tr valign=top><td> 'w' </td><td> open file for writing </td></tr> <tr valign=top><td> 'a' </td><td> open file for append (use with 'w') </td></tr> -<tr valign=top><td> 't' </td><td> truncate file at close (use with 'w') </td></tr> +<tr valign=top><td> 't' </td><td> truncate file at open (use with 'w') </td></tr> <tr valign=top><td> 'c' </td><td> create file if it doesn't exist (use with 'w') </td></tr> <tr valign=top><td> 'x' </td><td> fail if file already exist (use with 'c') </td></tr> </table> -<p>How should _always_ contain at least one of 'r' or 'w'. +<p><i>How</i> should _always_ contain at least one of 'r' or 'w'. <p>Returns 1 on success, 0 otherwise. </man_description> <man_see>Stdio.File->close</man_see> -- GitLab