Gio.ZlibCompressor:os
Description: Reference for property Gio.ZlibCompressor:os

### Property

# Gio ZlibCompressor:os

since: 2.86

#### Declaration

    property os: int [ read, write ]

#### Description [src]

The OS code of the gzip header.

This will be used if set to a non-negative value, and if `GZlibCompressor:format` is `G_ZLIB_COMPRESSOR_FORMAT_GZIP`, the compressor will set the OS code of the gzip header to this value.

If the value is unset, zlib will set the OS code depending on the platform. This may be undesirable when reproducible output is desired. In that case setting the OS code to `3` (for Unix) is recommended.

Type:`gint`

Available since: 2.86

Default value | -1
Getter method | `g_zlib_compressor_get_os()`
Setter method | `g_zlib_compressor_set_os()`

#### Flags

Readable | yes
Writable | yes
Construct | no
Construct only | no