Hi,

I am using OpenSSL for Windows from the command prompt.

every thing works fine.

I wish to know if a file lock is set when the output produced by OpenSSL is 
written to a file.

For e.g.
openssl rand -out prn.txt -base64 86

Now OpenSSL creates a 'random' file by the name prn.txt.

My question is between opening and closing the file 'prn.txt'. Is the file 
locked in between its opening and closing?

I don't want my program to read the file before the contents are written into 
it. asking my program to go to sleep is also impractical sometimes due to 
varied disk latency.

For e.g. if i open  a file with notepad, it(the application) does not lock the 
file. however if i open the same file using MS Word, it will set a lock on the 
file preventing other applications from opening the file.

I would like to know if the -out option locks the file it is written into till 
it is closed.

Thank you,
Sarad.


      

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to