🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.f77
Article #374

Re: Unit number limit?

#374
From: david
Date: Mon, 16 Jun 1986 09:46
15 lines
1130 bytes
>stever@tekgen
>Does anyone know a way to get around the limit of 20
>unit numbers in UNIX 4.2 FORTRAN?
>
>I understand that C allows 31 or so.

Nope, that is a function of the file descriptors you can have open in
UNIX 4.2: 0-19 (maybe 1-20 in f77, i dunno).

(flame me not - this is NOT some magic UNIX standard limit, , but it IS
a common implementation limit, and its for all the UNIXes I have
seen).

If you want lots of files open, use FILE pointers (is there a way to
get them from f77?  in C we use fopen() instead of open() ).  
Technical Details
Message-ID: <8300001@ztivax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!seismo!mcvax!unido!ztivax!david
References: <105@tekgen.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!seismo!mcvax!unido!ztivax!david
From: david@ztivax.UUCP
Newsgroups: net.lang.f77
Subject: Re: Unit number limit?
Message-ID: <8300001@ztivax.UUCP>
Date: Mon, 16-Jun-86 05:46:00 EDT
Article-I.D.: ztivax.8300001
Posted: Mon Jun 16 05:46:00 1986
Date-Received: Wed, 18-Jun-86 04:47:23 EDT
References: <105@tekgen.UUCP>
Sender: notes@unido.UUCP
Lines: 16
Nf-ID: #R:tekgen:-10500:ztivax:8300001:000:538
Nf-From: ztivax!david    Jun 16 10:46:00 1986