Pike v8.1 release 6

Method Stdio.Fd()->openat()


Method openat

Stdio.File openat(string filename, string mode)
Stdio.File openat(string filename, string mode, int access)

Description

Open a file relative to an opened directory.

Returns

Returns a new file object on success, and 0 (zero) on failure.

Note

Not available on all architectures.

See also

open(), statat(), unlinkat()