This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
record locking
- From: Matthias Weiss <matthias dot weiss at inode dot at>
- To: libstdc++ at gcc dot gnu dot org
- Date: Sun, 24 Mar 2002 18:03:53 +0100
- Subject: record locking
- Reply-to: matthias dot weiss at inode dot at
Hi all!
I'd need the UNIX file access locking mechanism like
flock(2) for doing protected database operations.
AFAIK I have to do an additional "open" call to the
libc API to get a file descriptor that allows me
to use flock.
So my request would be to integrate this in the fstream
class as an extension or to add a member function that
returns the file descriptor.
matthias