This is a discussion on file open within the Linux Networking forums, part of the Linux Forums category; HI all, I an designing an application in C++. i want to open file requested by end user but i ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
HI all,
I an designing an application in C++. i want to open file requested by end user but i want to reflect an error to user if file is already opened by some other application.. will anybody tell me that how to know that the file is already open or closed.. any help is highly appreciated... thanks, Munish Nayyar emanshu "IM" |
|
|||
|
munish.nr@gmail.com wrote:
> HI all, > > I an designing an application in C++. i want to open file requested by > end user but i want to reflect an error to user if file is already > opened by some other application.. > will anybody tell me that how to know that the file is already open or > closed.. > Hi, open the file exclusive. It's a bit/enum/ whatever. Documented in C++ iostream or any of this sort of classes. Reading the man pages or a book definitly helps. BR Hans-Juergen Lange |
![]() |
| Thread Tools | |
| Display Modes | |
|
|