From: Francesco Montorsi Date: Sun, 14 Dec 2008 15:05:18 +0000 (+0000) Subject: document wxFileOffset X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/72dc02c6a7fe7d02b1876b6cd466e92614bccfd4 document wxFileOffset git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/filefn.h b/interface/wx/filefn.h index dc9bb6d47b..805212a72d 100644 --- a/interface/wx/filefn.h +++ b/interface/wx/filefn.h @@ -107,6 +107,15 @@ public: */ 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