diff --git a/man/syscall/open.html b/man/syscall/open.html index 7abc154..427a6ae 100644 --- a/man/syscall/open.html +++ b/man/syscall/open.html @@ -99,12 +99,12 @@ course's assignments.)

-open returns a file handle suitable for passing to +open returns a file descriptor suitable for passing to read, write, close, -etc. This file handle must be greater than or equal to zero. Note -that file handles 0 (STDIN_FILENO), 1 (STDOUT_FILENO), and 2 +etc. This file descriptor must be greater than or equal to zero. Note +that file descriptors 0 (STDIN_FILENO), 1 (STDOUT_FILENO), and 2 (STDERR_FILENO) are used in special ways and are typically assumed by user-level code to always be open.

@@ -128,9 +128,9 @@ contain .. is usually not quite atomic.

Return Values

-On success, open returns a nonnegative file handle. On error, --1 is returned, and errno is set according to -the error encountered. +On success, open returns a nonnegative file descriptor. On +error, -1 is returned, and errno is set +according to the error encountered.

Errors