docs/109667: [patch] MSG_PEEK listed on send(2) but not applicable

Jari Kirma kirma at cs.hut.fi
Wed Feb 28 09:10:07 UTC 2007


>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:



More information about the freebsd-doc mailing list