HP3000-L Archives

December 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Wed, 20 Dec 2000 20:52:42 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
At 12:16 20/12/00 -0800, Mark Boyd wrote:
>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?

I think what you are looking for is FCONTROL 45.  However, the default
behavior is supposed to return EOF when the file is full, so you must have
already set FCONTROL 45 earlier in the program.

John D. Alleyn-Day  [log in to unmask]
Alleyn-Day International Ltd.
Alleyn House, 15 Green Place, Oxford OX1 4RF, England
Tel: +44(0)7020-939408; Fax: +44(0)1865-200256
3 Friars Lane,  Mll Valley  CA 94941-3723  U.S.A.
Tel: +1-408-286-6421  http://www.Alleyn-Day.com

ATOM RSS1 RSS2