Subject: | |
From: | |
Reply To: | TRAPP,RICH (Non-A-Loveland,ex1) |
Date: | Wed, 20 Dec 2000 15:55:34 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Mark,
I think it's FCONTROL(fnum, 45, ZERO) on the file before the fwrite.
Read the fine print in the manual...this is from memory (an the quick
reference guide!).
RAT
The default behavior for MESSAGE files is to wait.
Rich Trapp <mailto:[log in to unmask]>
Consulting for Agilent Technologies, Loveland, Colorado.
Managed Business Solutions <http://www.mbsnav.com/>
200 South College Avenue
Fort Collins, Colorado 80524-2811
970.679.2221 (voice)
970.669.3071 (fax)
-----Original Message-----
From: Mark Boyd [mailto:[log in to unmask]]
Sent: Wednesday, December 20, 2000 1:17 PM
To: [log in to unmask]
Subject: fwrite to message file. Help! Cecil! Help!
When writing to a message file (variable length records, one reader) that
has reached eof, the fwrite waits. Is there a way to make the fwrite fail
insted of waiting?
Thank you.
|
|
|