mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
docs: Clarify the definition of goffset
off64_t doesn’t exist in any standard (definitely not C99), and so goffset is actually closer to off_t in 64-bit mode. However, goffset is always defined as gint64, so make that clear. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=792856
This commit is contained in:
parent
fc857073a0
commit
38592939d7
@ -617,7 +617,9 @@
|
||||
* goffset:
|
||||
*
|
||||
* A signed integer type that is used for file offsets,
|
||||
* corresponding to the C99 type off64_t.
|
||||
* corresponding to the POSIX type `off_t` as if compiling with
|
||||
* `_FILE_OFFSET_BITS` set to 64. #goffset is always 64 bits wide, even on
|
||||
* 32-bit architectures.
|
||||
* Values of this type can range from #G_MINOFFSET to
|
||||
* #G_MAXOFFSET.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user