The code in Swift
... var time:timeval? gettimeofday(UnsafePointer, UnsafePointer<()>) // this is the method expansion before filling in any
I know one way to do it and this is as follows:
var time:timeval = timeval(tv_sec: 0, tv_usec: 0) gettimeofday(&time, nil)
I had to initialize time with something so there actually was a struct at the address &time pointed to.
time
&time