X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1facd32a75f3ef190a336e96fabf17632ade7228..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/docs/latex/wx/file.tex diff --git a/docs/latex/wx/file.tex b/docs/latex/wx/file.tex index 0aa2ad24a3..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 @@ -282,7 +284,7 @@ the number of bytes actually written Writes the contents of the string to the file, returns TRUE on success. -The second argument specifies is only meaningful in Unicode build of wxWindows when +The second argument is only meaningful in Unicode build of wxWindows when {\it conv} is used to convert {\it s} to multibyte representation. \section{\class{wxFFile}}\label{wxffile} @@ -483,5 +485,6 @@ Number of bytes written. Writes the contents of the string to the file, returns TRUE on success. -The second argument specifies is only meaningful in Unicode build of wxWindows when +The second argument is only meaningful in Unicode build of wxWindows when {\it conv} is used to convert {\it s} to multibyte representation. +