Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   statx    ( 2 )

получить статус файла (расширенный) (get file status (extended))

  Name  |  Synopsis  |  Description  |  Return value  |    Error    |  Versions  |  Conforming to  |  See also  |

Ошибки (Error)

EACCES Search permission is denied for one of the directories in the path prefix of pathname. (See also path_resolution(7).)

EBADF pathname is relative but dirfd is neither AT_FDCWD nor a valid file descriptor.

EFAULT pathname or statxbuf is NULL or points to a location outside the process's accessible address space.

EINVAL Invalid flag specified in flags.

EINVAL Reserved flag specified in mask. (Currently, there is one such flag, designated by the constant STATX__RESERVED, with the value 0x80000000U.)

ELOOP Too many symbolic links encountered while traversing the pathname.

ENAMETOOLONG pathname is too long.

ENOENT A component of pathname does not exist, or pathname is an empty string and AT_EMPTY_PATH was not specified in flags.

ENOMEM Out of memory (i.e., kernel memory).

ENOTDIR A component of the path prefix of pathname is not a directory or pathname is relative and dirfd is a file descriptor referring to a file other than a directory.