Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: Re: Problem with binary file I/O
Date: Sun, 26 Apr 1998 23:43:51 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.3.96.980426234247.23553I-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <199804270337.VAA10975@walleye.gonefishing.sk.ca>

On Sun, 26 Apr 1998, Larry Zimmerman wrote:

> Thank you, problem solved. I guess I have an outdated man page.
> The program works with fopen(  ,"a+") in the addsta function,
> since it does just append to this file. I used fopen(  ,"r+")
> in the repsta function (updates the record), and now it works.

D'oh!  Glad you didn't listen to me.  "w+" would trunc the file.  Heh. 

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


  reply	other threads:[~1998-04-27  3:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ccurtis@ee.fit.edu>
1998-04-27  3:37 ` Problem with binary file I/O Larry Zimmerman
1998-04-27  3:43   ` Christopher Curtis [this message]
1998-04-27  4:02 ` Larry Zimmerman
1998-04-27  4:26   ` Christopher Curtis
1998-04-27  4:42 ` PBM, etc Larry Zimmerman
1998-04-27 11:59   ` Christopher Curtis
1998-08-04  4:59 ` Multia Sound Larry Zimmerman
1998-04-27  0:56 Problem with binary file I/O Larry Zimmerman
1998-04-27  2:49 ` Christopher Curtis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox