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

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



   open_by_handle_at    ( 2 )

получить дескриптор для имени пути и открыть файл через дескриптор (obtain handle for a pathname and open file via a handle)

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

Возвращаемое значение (Return value)

On success, name_to_handle_at() returns 0, and open_by_handle_at() returns a file descriptor (a nonnegative integer).

In the event of an error, both system calls return -1 and set errno to indicate the error.