mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Bug 343281 - nsIFileInputStream/nsIFileOutputStream::Init - document the special -1 value for ioFlags and perm params, patch by Nickolay Ponomarev. r=cbiesinger, sr=darin
This commit is contained in:
parent
8a8d233bd9
commit
93cbe207f8
@ -48,8 +48,11 @@ interface nsIFileInputStream : nsIInputStream
|
||||
{
|
||||
/**
|
||||
* @param file file to read from (must QI to nsILocalFile)
|
||||
* @param ioFlags file open flags listed in prio.h
|
||||
* @param perm file mode bits listed in prio.h
|
||||
* @param ioFlags file open flags listed in prio.h (see
|
||||
* PR_Open documentation) or -1 to open the
|
||||
* file in default mode (PR_RDONLY).
|
||||
* @param perm file mode bits listed in prio.h or -1 to
|
||||
* use the default value (0)
|
||||
* @param behaviorFlags flags specifying various behaviors of the class
|
||||
* (see enumerations in the class)
|
||||
*/
|
||||
@ -87,9 +90,13 @@ interface nsIFileInputStream : nsIInputStream
|
||||
interface nsIFileOutputStream : nsIOutputStream
|
||||
{
|
||||
/**
|
||||
* @param file - file to write to (must QI to nsILocalFile)
|
||||
* @param ioFlags - file open flags listed in prio.h
|
||||
* @param perm - file mode bits listed in prio.h
|
||||
* @param file file to write to (must QI to nsILocalFile)
|
||||
* @param ioFlags file open flags listed in prio.h (see
|
||||
* PR_Open documentation) or -1 to open the
|
||||
* file in default mode (PR_WRONLY |
|
||||
* PR_CREATE_FILE | PR_TRUNCATE)
|
||||
* @param perm file mode bits listed in prio.h or -1 to
|
||||
* use the default permissions (0664)
|
||||
* @param behaviorFlags flags specifying various behaviors of the class
|
||||
* (currently none supported)
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user