MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Blockio C.Txt

File blockio-c.txt
Size 15.9 KB
Category Development
↓ Download blockio-c.txt

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

About

Here's a file to put into /mac/development/sources/snippets on mac.archive.umich.edu. Compress it as you please. /* blockio.c and blockio.h by Art Eschenlauer Routines to open blocks of memory as simple filestreams under ThinkC 5.0.4 Here are some routines to open a block of memory (Ptr or Handle) as a simple filestream (they do not support disk oriented commands like rewind and seek). I wrote these for porting unix software to ThinkC 5.0.4 using the standard libraries. I don't know if they would work on later versions of ThinkC std libraries. Bugs, comments, flames, etc. to eschen@molbio.cbs.umn.edu. Disclaimer:

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.