What is error -61?
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Jan 19 21:03:50 CST 2004
on 1/19/04 8:58 PM, X Y at xyzabc1010 at yahoo.com wrote:
> I think advisory locks is just adding
>
> fd = open( "./foo", O_RDWR + O_EXLOCK + O_NONBLOCK );
>
> Excuse my ignorance, but is this an OS lock?
No.
O_EXLOCK -- this is request to open file in EXCLUSIVE mode.
This is why I do actually.
But this not works in OS X.
OS lock on file range, is special C function call
Something as
file_lock( this file, from this byte, to that byte )
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list