|
But... I don't understand why your process doesn't abort when it gets
the EBUSY error? If step 1 fails, why does your program continue on to
step 2? Perhaps that's a bug.
When you open a file with the open() API, you can specify O_SHARE_NONE,
O_SHARE_RDONLY, O_SHARE_WRONLY, or O_SHARE_RDWR.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.