Date: Sat, 01 Aug 2015 21:15:28 -0700 From: Jordan Hubbard <jordanhubbard@icloud.com> To: John-Mark Gurney <jmg@funkthat.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Patrick Mooney <patrick.mooney@joyent.com> Subject: Re: Interpretation of POSIX.1-2008 for recvmsg Message-ID: <337118A1-5F96-4E7F-A62F-9D586025AE0A@icloud.com> In-Reply-To: <20150802034945.GN78154@funkthat.com> References: <CABtm=mocvtBO46PDR7SPokOr57z_DphOu5rKZPk7ATjweL_Awg@mail.gmail.com> <20150802000945.GL78154@funkthat.com> <476D3B86-896E-4049-8006-ADF964C7ECC3@icloud.com> <20150802034945.GN78154@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Aug 1, 2015, at 8:49 PM, John-Mark Gurney <jmg@funkthat.com> wrote: > > Ok, I know it's a bit old, but MacOSX 10.7.5: > $./peektest > peek len: 0 errno: 0 flags: 12 > recv len: 20 errno: 0 flags: 0 I missed Patrick’s reference to his peektest.c program the first time - whoops - or I’d have just run it myself! On version 10.10.5, x86_64 architecture: jkh@katana-> ./peektest peek len: 0 errno: 0 flags: 12 recv len: 20 errno: 0 flags: 0 So yep, that’s the “reasonable behavior” from a UNIX2003 conformance perspective. - Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?337118A1-5F96-4E7F-A62F-9D586025AE0A>
