Add/adjust man pages for UDS. Contributed by Thomas Cort

This commit is contained in:
Thomas Veerman
2010-07-15 14:56:49 +00:00
parent d26290a017
commit ee1b608bcf
25 changed files with 805 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ MAN= add_route.8 adduser.8 backup.8 badblocks.8 boot.8 \
rdate.8 readclock.8 reboot.8 repartition.8 rlogind.8 \
rshd.8 savemixer.8 screendump.8 serial-ip.8 service.8 \
setup.8 shutdown.8 slip.8 srccrc.8 sync.8 syslogd.8 tcpd.8 \
update.8 usage.8 vmixctl.8
unix.8 update.8 usage.8 vmixctl.8
.include <bsd.man.mk>
.include <bsd.subdir.mk>

26
man/man8/unix.8 Normal file
View File

@@ -0,0 +1,26 @@
.TH UNIX 8
.SH NAME
unix \- Unix Domain Sockets (PF_UNIX) / Local Sockets (PF_LOCAL)
.SH SYNOPSIS
.ft B
#include <sys/socket.h>
.br
#include <sys/un.h>
.in +5
.ti -5
int socket(int \fIdomain\fP, int \fItype\fP, int \fIprotocol\fP);
.ti -5
int socketpair(int \fIdomain\fP, int \fItype\fP, int \fIprotocol\fP, int \fIsv[2]\fP);
.br
.ft P
.SH DESCRIPTION
Local sockets, more commonly known as Unix Domain Sockets, provide a
means of interprocess communication using the socket API.
.SH SEE ALSO
.BR socket(2),
.BR socketpair(2),
.BR getpeereid(2),
.BR uds(4)
.SH HISTORY
This Unix Domain Sockets first appeared in Minix 3.1.8.