home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c
- Path: 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
-
- 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]
-