Subject: Bug#3844: getpeername(2) man page does not list required header file

From: Richard Kettlewell <[email-masked]>
Date: Sat, 20 Jul 96 16:28:17 +0100 (BST)

Package: manpages
Version: 1.11-4

The following patch should be applied to `/usr/man/man2/getpeername.2'
so that it lists the required include files.

--- getpeername.2.orig  Sat Jul 20 16:24:57 1996
+++ getpeername.2       Sat Jul 20 16:25:23 1996
@@ -37,6 +37,8 @@
 .SH NAME
 getpeername \- get name of connected peer
 .SH SYNOPSIS
+.B #include <sys/socket.h>
+.sp
 .BI "int getpeername(int " s ", struct sockaddr *" name ", int *" namelen );
 .SH DESCRIPTION
 .B Getpeername

-- 
Richard Kettlewell   [email-masked]   [email-masked]
                             http://www.elmail.co.uk/staff/richard/