Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 09:07:45 GMT
From:      Jari Kirma<kirma@cs.hut.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/109667: [patch] MSG_PEEK listed on send(2) but not applicable
Message-ID:  <200702280907.l1S97jO8033993@www.freebsd.org>
Resent-Message-ID: <200702280910.l1S9A7w4099717@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109667
>Category:       docs
>Synopsis:       [patch] MSG_PEEK listed on send(2) but not applicable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 09:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jari Kirma
>Release:        FreeBSD 7.0
>Organization:
Helsinki University of Technology
>Environment:
Any >= FreeBSD 2.0.5alpha
>Description:
MSG_PEEK is listed on send(2) manual page. It's applicable to recv(2), but not send(2).
>How-To-Repeat:

>Fix:
Apply the patch (against rev 1.32.2.1)

Patch attached with submission follows:

*** src/lib/libc/sys/send.2	Fri Feb 9 21:22:32 2007
--- src/lib/libc/sys/send.2.new	Wed Feb 28 8:51:22 2007
***************
*** 104,110 ****
  argument may include one or more of the following:
  .Bd -literal
  #define	MSG_OOB		0x00001 /* process out-of-band data */
- #define	MSG_PEEK	0x00002 /* peek at incoming message */
  #define	MSG_DONTROUTE	0x00004 /* bypass routing, use direct interface */
  #define MSG_EOR		0x00008 /* data completes record */
  #define	MSG_EOF		0x00100 /* data completes transaction */
--- 104,109 ----

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702280907.l1S97jO8033993>