streamWrapper::stream_lock — Advisory file locking
public bool streamWrapper::stream_lock ( int
operationis one of the following:
LOCK_SHto acquire a shared lock (reader).
LOCK_EXto acquire an exclusive lock (writer).
LOCK_UNto release a lock (shared or exclusive).
LOCK_NBif you don't want flock() to block while locking. (not supported on Windows)
TRUE on success or
FALSE on failure.
E_WARNING if call to this method fails (i.e. not implemented).
add a note User Contributed Notes streamWrapper::stream_lock - [0 notes]
There are no user contributed notes for this page.