Contents

init(_:flags:retryOnInterrupt:)

Creates a Stat struct from an UnsafePointer<CChar> path and Flags.

Declaration

init(_ path: UnsafePointer<CChar>, flags: Stat.Flags, retryOnInterrupt: Bool = true) throws(Errno)

Discussion

If path is relative, it is resolved against the current working directory.

The corresponding C function is fstatat().