читать из файла (read from a file)
Возвращаемое значение (Return value)
Upon successful completion, these functions shall return a non-
negative integer indicating the number of bytes actually read.
Otherwise, the functions shall return -1 and set errno to
indicate the error.