🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1168

Re: Operations on Files

#1168
From: David Adrien Tanguay
Date: Sun, 06 Sep 1992 23:08
16 lines
1282 bytes
robertl@county.lmt.mn.org (ROBERT LAUMEYER) writes:
>
>	The ANSI C standard seems to have a rather odd mix of file 
>operations.  Why didn't they add (over K&R) some other useful file 
>operations such as fileexist, getfirst, getnext, etc?  It seems that 
>these could not be much more dependent on the underlying file system than 
>rename or remove.

These routines assume a directory structure, i.e., that there is such a
concept as sub-structure. Other forms of file organization are reasonable.
For example, the files could be organised as a relational database, where you
don't really navigate from one node to another. Or, a file could be a point
in n-space. Stuff like this pops up in videotext systems.
-- 
David Tanguay       dat@Thinkage.on.ca  dat@Thinkage.com  uunet!thinkage!dat
Thinkage, Ltd.           Kitchener, Ontario, Canada          [43.40N 80.47W]
Technical Details
Message-ID: <1992Sep6.230823.4695@thinkage.on.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!thinkage!dat
References: <robertl.4.715452734@county.lmt.mn.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!thinkage!dat
From: dat@thinkage.on.ca (David Adrien Tanguay)
Subject: Re: Operations on Files
Message-ID: <1992Sep6.230823.4695@thinkage.on.ca>
Keywords: ANSI C, files
Organization: Thinkage, Ltd.
References: <robertl.4.715452734@county.lmt.mn.org>
Date: Sun, 6 Sep 1992 23:08:23 GMT
Lines: 16