digikam
#include "NptTypes.h"
#include "NptStreams.h"
#include "NptTime.h"
Go to the source code of this file.
#define NPT_FILE_STANDARD_ERROR "@STDERR" |
#define NPT_FILE_STANDARD_INPUT "@STDIN" |
#define NPT_FILE_STANDARD_OUTPUT "@STDOUT" |
const unsigned int NPT_FILE_ATTRIBUTE_LINK = 0x02 |
const unsigned int NPT_FILE_ATTRIBUTE_READ_ONLY = 0x01 |
const unsigned int NPT_FILE_OPEN_MODE_APPEND = 0x20 |
const unsigned int NPT_FILE_OPEN_MODE_CREATE = 0x04 |
const unsigned int NPT_FILE_OPEN_MODE_READ = 0x01 |
File open modes.
Use a combination of these flags to indicate how a file should be opened Note all combinations of flags are valid or meaningful: If NPT_FILE_OPEN_MODE_WRITE is not set, then NPT_FILE_OPEN_MODE_CREATE, NPT_FILE_OPEN_MODE_TRUNCATE and NPT_FILE_OPEN_MODE_APPEND are ignored. If NPT_FILE_OPEN_MODE_APPEND is set, then NPT_FILE_OPEN_MODE_CREATE is automatically implied whether it is set or not. NPT_FILE_OPEN_MODE_CREATE and NPT_FILE_OPEN_MODE_TRUNCATE imply each other (if one is set, the other one is automatically implied)
Definition at line 67 of file NptFile.h.
const unsigned int NPT_FILE_OPEN_MODE_TRUNCATE = 0x08 |
const unsigned int NPT_FILE_OPEN_MODE_UNBUFFERED = 0x10 |
const unsigned int NPT_FILE_OPEN_MODE_WRITE = 0x02 |
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Wed Dec 11 2019 07:34:58 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.