home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / std / c / 2578 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!thinkage!dat
  3. From: dat@thinkage.on.ca (David Adrien Tanguay)
  4. Subject: Re: Operations on Files
  5. Message-ID: <1992Sep6.230823.4695@thinkage.on.ca>
  6. Keywords: ANSI C, files
  7. Organization: Thinkage, Ltd.
  8. References: <robertl.4.715452734@county.lmt.mn.org>
  9. Date: Sun, 6 Sep 1992 23:08:23 GMT
  10. Lines: 16
  11.  
  12. robertl@county.lmt.mn.org (ROBERT LAUMEYER) writes:
  13. >
  14. >    The ANSI C standard seems to have a rather odd mix of file 
  15. >operations.  Why didn't they add (over K&R) some other useful file 
  16. >operations such as fileexist, getfirst, getnext, etc?  It seems that 
  17. >these could not be much more dependent on the underlying file system than 
  18. >rename or remove.
  19.  
  20. These routines assume a directory structure, i.e., that there is such a
  21. concept as sub-structure. Other forms of file organization are reasonable.
  22. For example, the files could be organised as a relational database, where you
  23. don't really navigate from one node to another. Or, a file could be a point
  24. in n-space. Stuff like this pops up in videotext systems.
  25. -- 
  26. David Tanguay       dat@Thinkage.on.ca  dat@Thinkage.com  uunet!thinkage!dat
  27. Thinkage, Ltd.           Kitchener, Ontario, Canada          [43.40N 80.47W]
  28.