List all of the include files required for getpeername and getsockname.

Closes PR# 1170.

Submitted by:	James Raynard <jraynard@dial.pipex.com>
This commit is contained in:
Mike Pritchard 1996-08-22 20:49:57 +00:00
parent 7ec1929d53
commit d9cd459bc6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17777
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,8 @@
.Nm getpeername
.Nd get name of connected peer
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn getpeername "int s" "struct sockaddr *name" "int *namelen"
.Sh DESCRIPTION

View File

@ -38,6 +38,8 @@
.Nm getsockname
.Nd get socket name
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn getsockname "int s" "struct sockaddr *name" "int *namelen"
.Sh DESCRIPTION