home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!drd!mark
- From: mark@drd.com (Resident.Alien)
- Subject: Getting ready to use sfio: Any gotchas?
- Message-ID: <1992Nov12.232850.13811@drd.com>
- Organization: DRD Corporation
- Date: Thu, 12 Nov 1992 23:28:50 GMT
- Lines: 18
-
-
- I'm getting ready to employ the sfio library functions. I've got a
- situation where some client code writes a line-oriented temporary
- file and then turns right around and hands the pathname to a library
- function that immediately slurps the contents of the file in
- line-oriented mode, formats into sql insert/update statements as
- appropriate and passes it down a connection to an rdbms back-end.
-
- I was thinking that this was a golden opportunity to exercise sfio's
- SF_STRING|SF_LINE type of stream and hand the stream handle across the
- library call.
-
- Anybody have any gotcha's before I pile in? I'm interested in
- establishing contact with other sfionauts.
-
- --
- mark.lawrence@drd.com (918)743-3013
- DRD Corp., 5506 South Lewis Ave., Tulsa, OK 74105 (918)745-9037 fax
-