diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-12-29 10:25:44 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-12-29 10:25:44 +0000 |
commit | 7bd69d02efad3963054ca51b27760a6e34a48b82 (patch) | |
tree | e5686cc4d5f5c4f8067e4fa9f14afa31cc3d218d /lib/libc/sys | |
parent | 3ba89f2a9f6dad0284b797647907b688c447a6ce (diff) |
replace a few remaining UNIX terms with .Ux macros; this diff
completes the changes from Oct 22.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/bind.2 | 14 | ||||
-rw-r--r-- | lib/libc/sys/connect.2 | 11 | ||||
-rw-r--r-- | lib/libc/sys/getpeereid.2 | 16 | ||||
-rw-r--r-- | lib/libc/sys/getsockname.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/write.2 | 8 |
5 files changed, 31 insertions, 26 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index 5d35a4e77f2..b47a0f69161 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bind.2,v 1.15 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: bind.2,v 1.16 2009/12/29 10:25:43 sobrado Exp $ .\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)bind.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: December 29 2009 $ .Dt BIND 2 .Os .Sh NAME @@ -56,9 +56,10 @@ indicates the amount of space pointed to by .Fa name , in bytes. .Sh NOTES -Binding a name in the UNIX domain creates a socket in the file -system that must be deleted by the caller when it is no longer -needed (using +Binding a name in the +.Ux Ns -domain +creates a socket in the file system that must be deleted by the caller +when it is no longer needed (using .Xr unlink 2 ) . .Pp The rules used in name binding vary between communication domains. @@ -98,7 +99,8 @@ The parameter is not in a valid part of the user address space. .El .Pp -The following errors are specific to binding names in the UNIX domain. +The following errors are specific to binding names in the +.Ux Ns -domain . .Bl -tag -width Er .It Bq Er ENOTDIR A component of the path prefix is not a directory. diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index 16c8935769d..2869bb5ddae 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: connect.2,v 1.21 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: connect.2,v 1.22 2009/12/29 10:25:43 sobrado Exp $ .\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: December 29 2009 $ .Dt CONNECT 2 .Os .Sh NAME @@ -133,8 +133,11 @@ and a previous connection attempt has not yet been completed. .El .Pp -The following errors are specific to connecting names in the UNIX domain. -These errors may not apply in future versions of the UNIX IPC domain. +The following errors are specific to connecting names in the +.Ux Ns -domain . +These errors may not apply in future versions of the +.Ux +IPC domain. .Bl -tag -width Er .It Bq Er ENOTDIR A component of the path prefix is not a directory. diff --git a/lib/libc/sys/getpeereid.2 b/lib/libc/sys/getpeereid.2 index 305c03946b3..6db0ff8eafa 100644 --- a/lib/libc/sys/getpeereid.2 +++ b/lib/libc/sys/getpeereid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpeereid.2,v 1.8 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: getpeereid.2,v 1.9 2009/12/29 10:25:43 sobrado Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -26,7 +26,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: December 29 2009 $ .Dt GETPEEREID 2 .Os .Sh NAME @@ -41,8 +41,8 @@ .Fn getpeereid returns the effective user ID and group ID of the peer connected to a -.Ux -domain socket (see +.Ux Ns -domain +socket (see .Xr unix 4 ) . The argument .Fa s @@ -50,9 +50,8 @@ must be of type .Dv SOCK_STREAM . .Pp One common use is for -.Ux -domain servers to determine the credentials -of clients that have connected to it. +.Ux Ns -domain +servers to determine the credentials of clients that have connected to it. .Pp .Fn getpeereid takes three parameters: @@ -98,8 +97,7 @@ The argument is a file, not a socket. .It Bq Er EOPNOTSUPP The socket is not in the -.Ux -domain. +.Ux Ns -domain . .It Bq Er ENOTCONN The socket is not connected. .It Bq Er ENOBUFS diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index d129b0a2b99..6d6bfcd02cb 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockname.2,v 1.24 2007/05/31 19:19:32 jmc Exp $ +.\" $OpenBSD: getsockname.2,v 1.25 2009/12/29 10:25:43 sobrado Exp $ .\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockname.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: December 29 2009 $ .Dt GETSOCKNAME 2 .Os .Sh NAME @@ -157,6 +157,8 @@ The function call appeared in .Bx 4.2 . .Sh BUGS -Names bound to sockets in the UNIX domain are inaccessible; +Names bound to sockets in the +.Ux Ns -domain +are inaccessible; .Nm getsockname returns a zero length name. diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index c93d25a8c60..6ded0b365cd 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.2,v 1.31 2008/12/17 09:25:35 ray Exp $ +.\" $OpenBSD: write.2,v 1.32 2009/12/29 10:25:43 sobrado Exp $ .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)write.2 8.5 (Berkeley) 4/2/94 .\" -.Dd $Mdocdate: December 17 2008 $ +.Dd $Mdocdate: December 29 2009 $ .Dt WRITE 2 .Os .Sh NAME @@ -209,8 +209,8 @@ may return one of the following errors: .Bl -tag -width Er .It Bq Er EDESTADDRREQ The destination is no longer available when writing to a -.Ux -domain datagram socket on which +.Ux Ns -domain +datagram socket on which .Xr connect 2 had been used to set a destination address. .It Bq Er EINVAL |