You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: util_solaris.go
    path of file: ./repos/docker-ce/components/engine/vendor/github.com/creack/pty
    
    the code of the file until where you have to start completion: //

package pty

import (
	"os"
	"golang.org/x/sys/unix"
)

const (
	TIOCGWINSZ = 21608 // 'T' << 8 | 104
	TIOCSWINSZ = 21607 // 'T' << 8 | 103
)

// Winsize
    
func GetsizeFull(t *os.File) (size *Winsize, err error) {
	var wsz *unix.Winsize
	wsz, err = unix.IoctlGetWinsize(int(t.Fd()), TIOCGWINSZ)

	if err != nil {
		return nil, err
	} else {
		return &Winsize{wsz.Row, wsz.Col, wsz.Xpixel, wsz.Ypixel}, nil
	}
}