// Global functions/macros
// ============================================================================
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
//@{
+/**
+ A special return value of many wxWidgets classes to indicate that
+ an invalid offset was given.
+*/
+const int wxInvalidOffset = -1;
+
+/**
+ The type used to store and provide byte offsets or byte sizes for files or streams.
+
+ It is type-defined as @c off_t on POSIX platforms
+ (see http://www.gnu.org/software/libc/manual/html_node/File-Position-Primitive.html)
+ or to @c wxLongLong_t on Windows when @c wxHAS_HUGE_FILES is defined.
+*/
+typedef off_t wxFileOffset;
+
/**
Under Unix this macro changes the current process umask to the given value,
unless it is equal to -1 in which case nothing is done, and restores it to
@header{wx/filefn.h}
*/
-#define wxCHANGE_UMASK(int mask)
+#define wxCHANGE_UMASK(mask)
/**
This function returns the total number of bytes and number of free bytes on
//@}
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
//@{
/**
Returns the type of an open file. Possible return values are enumerations
wxFileKind wxGetFileKind(FILE* fp);
//@}
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
//@{
/**
@warning This function is obsolete, please use wxFileName::SplitPath()
char* wxFileNameFromPath(char* path);
//@}
-/** @ingroup group_funcmacro_file */
+/** @addtogroup group_funcmacro_file */
//@{
/**
@warning This function is obsolete, please use