From a92f77bc8044d75788aa7a14c93273520a705ded Mon Sep 17 00:00:00 2001 From: Zachary Lebold Date: Mon, 7 Mar 2016 02:20:20 -0500 Subject: [PATCH] Update open.html Fix references to file descriptor being called file handle. --- man/syscall/open.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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