This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Code sample correction
- From: "joe.terranova.yahoo.com via libc-help" <libc-help at sourceware dot org>
- To: "libc-help at sourceware dot org" <libc-help at sourceware dot org>
- Date: Thu, 27 Jun 2019 20:14:37 +0000 (UTC)
- Subject: Code sample correction
- References: <RT-Ticket-1396282@rt.gnu.org> <104783374.347383.1561653204081.ref@mail.yahoo.com> <104783374.347383.1561653204081@mail.yahoo.com> <rt-4.2.14-7-g171caae-32502-1561657375-1705.1396282-8-0@rt.gnu.org> <5ccca698-6f26-e26a-efe3-07d7c623ebeb@redhat.com>
- Reply-to: "joe dot terranova at yahoo dot com" <joe dot terranova at yahoo dot com>
- Reply-to: "joe dot terranova at yahoo dot com" <joe dot terranova at yahoo dot com>
Reposting here at the request of Carlos O'Donell...
Hello!
I was reading the section on Out of Band Data (https://www.gnu.org/software/libc/manual/html_node/Out_002dof_002dBand-Data.html#Out_002dof_002dBand-Data) and noticed that the code sample demonstrating use of the OOB marker does not check the value of "atmark" per the discussion, but rather, some undefined variable called "result".
Thanks,
Joe T.