summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getsockname.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-10-26 17:38:20 +0000
committerru <ru@FreeBSD.org>2001-10-26 17:38:20 +0000
commit5cf7b5f41f4236d42751f1ffbb7c54d5160772ca (patch)
tree8aa1b798dafa0810da76835d9fb76f6cf3efa499 /lib/libc/sys/getsockname.2
parentefc392e6af8312d69312f3d4ff5bc8e558301448 (diff)
downloadFreeBSD-src-5cf7b5f41f4236d42751f1ffbb7c54d5160772ca.zip
FreeBSD-src-5cf7b5f41f4236d42751f1ffbb7c54d5160772ca.tar.gz
Remove the internal implementation details of wrapping syscalls,
which do not match the reality anyway. Approved by: deischen, bde
Diffstat (limited to 'lib/libc/sys/getsockname.2')
-rw-r--r--lib/libc/sys/getsockname.221
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index 5d0890d..f4b3060 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -56,27 +56,6 @@ the amount of space pointed to by
.Fa name .
On return it contains the actual size of the name
returned (in bytes).
-.Sh IMPLEMENTATION NOTES
-In the non-threaded library
-.Fn getsockname
-is implemented as the
-.Va getsockname
-syscall.
-.Pp
-In the threaded library, the
-.Va getsockname
-syscall is assembled to
-.Fn _thread_sys_getsockname
-and
-.Fn getsockname
-is implemented as a function which locks
-.Fa fd
-for read and write, then calls
-.Fn _thread_sys_getsockname .
-Before returning,
-.Fn getsockname
-unlocks
-.Fa fd .
.Sh RETURN VALUES
.Rv -std getsockname
.Sh ERRORS
OpenPOWER on IntegriCloud