X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/455df0f4503a447b14b26fa6bfd9f408c5ae236e..c8499e53d820ed68ad6a1e9b25d963107641af14:/docs/latex/wx/file.tex diff --git a/docs/latex/wx/file.tex b/docs/latex/wx/file.tex index fa8a9c8bdf..fbb705f154 100644 --- a/docs/latex/wx/file.tex +++ b/docs/latex/wx/file.tex @@ -54,6 +54,8 @@ or test if it can be opened for writing with Access()} contents of the file is not erased and the file pointer is initially placed at the end of the file; can not be used with Access(). This is the same as {\bf wxFile::write} if the file doesn't exist.} +\twocolitem{{\bf wxFile::write\_excl}}{Open the file securely for writing (Uses O\_EXCL | O\_CREAT). +Will fail if the file already exists, else create and open it atomically. Useful for opening temporary files without being vulnerable to race exploits.} \end{twocollist} Other constants defined elsewhere but used by wxFile functions are wxInvalidOffset which represents an @@ -485,3 +487,4 @@ Writes the contents of the string to the file, returns TRUE on success. The second argument is only meaningful in Unicode build of wxWindows when {\it conv} is used to convert {\it s} to multibyte representation. +