mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
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:
parent
7ec1929d53
commit
d9cd459bc6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17777
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user