Martin v. Löwis <martin <at> v.loewis.de> writes: > One way of providing this might be a "u" mode for open, which > updates an existing file on close (unlike "a", which appends, > and unlike "w", which truncates first). Doesn't "r+" cover this? Regards, Vinay Sajip