Return Value. Upon successful completion, the function shall open the file and return a non-negative integer representing the lowest numbered unused file ...
The return value of open() is a file descriptor, a small, nonnegative ... This nonstandard access mode is used by some Linux drivers to return a file ...
2023年8月8日 — On success the open function returns a non-negative integer, which is the file descriptor. On failure, it returns -1 , and you can use the errno ...
The open() function shall return a file descriptor for the named file that is ... RETURN VALUE. Upon successful completion, the function shall open the file ...
The normal return value from open is a non-negative integer file descriptor. In the case of an error, a value of -1 is returned instead. In addition to the ...