Replace int with fig_bool for boolean types, replace seek function's int whence; parameter with fig_seek_origin_t whence;