Name

mk_get_file_mode — Get mode of file or directory in octal

Synopsis

mk_get_file_mode path

Description

Sets result to the mode of path in octal. If the mode could not be read, this function aborts via mk_fail.