[Plib-devel] file access wrappers
Brought to you by:
sjbaker
From: Dave M. <dp...@ef...> - 2000-02-25 19:16:41
|
>What I would *consider* doing would be: > >1) Write a file name mangling function that converts UNIX-style > file names to the 'native' file name format. > >2) Write wrappers for fopen/dirent to use that standard that > give the appearance of all systems accepting either UNIX-style > or native file name/path conventions. > >That's maybe an evening's work with very little maintenance needed >after that - versus a fairly major chunk of effort. > Thanks. I'd appreciate that. If the wrapper is in a seperate module then the app can redefine them to use whatever resource management is appropriate. --Dave |