Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man3 correct CMSG_DATA documentation



details:   https://anonhg.NetBSD.org/src/rev/30647b47a080
branches:  trunk
changeset: 805949:30647b47a080
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 24 17:17:01 2015 +0000

description:
correct CMSG_DATA documentation

diffstat:

 share/man/man3/CMSG_DATA.3 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r dda90b54ab9f -r 30647b47a080 share/man/man3/CMSG_DATA.3
--- a/share/man/man3/CMSG_DATA.3        Sat Jan 24 17:15:22 2015 +0000
+++ b/share/man/man3/CMSG_DATA.3        Sat Jan 24 17:17:01 2015 +0000
@@ -1,8 +1,8 @@
-.\"    $NetBSD: CMSG_DATA.3,v 1.2 2008/06/20 14:35:10 christos Exp $
+.\"    $NetBSD: CMSG_DATA.3,v 1.3 2015/01/24 17:17:01 christos Exp $
 .\"    $OpenBSD: CMSG_DATA.3,v 1.5 2008/03/24 16:11:07 deraadt Exp $
 .\" Written by Jared Yanovich <jaredy%openbsd.org@localhost>
 .\" Public domain, July 3, 2005
-.Dd June 20, 2008
+.Dd January 24, 2015
 .Dt CMSG_DATA 3
 .Os
 .Sh NAME
@@ -14,8 +14,10 @@
 .Nd socket control message routines
 .Sh SYNOPSIS
 .In sys/socket.h
-.Ft void *
+.Ft unsigned char *
 .Fn CMSG_DATA "struct cmsghdr *"
+.Ft const unsigned char *
+.Fn CCMSG_DATA "struct cmsghdr *"
 .Ft struct cmsghdr *
 .Fn CMSG_FIRSTHDR "struct msghdr *"
 .Ft size_t



Home | Main Index | Thread Index | Old Index