summaryrefslogtreecommitdiff
path: root/lib/libc/sys/close.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/close.2')
-rw-r--r--lib/libc/sys/close.221
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2
index 9192ae15be12..6a0719147fa6 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -101,27 +101,6 @@ execve; the call
.Dq Li fcntl(d, F_SETFD, 0)
restores the default,
which is to not close the descriptor.
-.Sh IMPLEMENTATION NOTES
-In the non-threaded library
-.Fn close
-is implemented as the
-.Va close
-syscall.
-.Pp
-In the threaded library, the
-.Va close
-syscall is assembled to
-.Fn _thread_sys_close
-and
-.Fn close
-is implemented as a function which locks
-.Fa d
-for read and write, then calls
-.Fn _thread_sys_close .
-Before returning,
-.Fn close
-unlocks
-.Fa d .
.Sh RETURN VALUES
.Rv -std close
.Sh ERRORS