открыть файл (open file)
Возвращаемое значение (Return value)
Upon successful completion, these functions shall open the file
and return a non-negative integer representing the file
descriptor. Otherwise, these functions shall return -1 and set
errno to indicate the error. If -1 is returned, no files shall be
created or modified.