Bindings to ioctl for setting/getting window size.