This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/1010] New: sockatmark() definition is wrong
- From: "michael dot kerrisk at gmx dot net" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Jun 2005 13:26:37 -0000
- Subject: [Bug libc/1010] New: sockatmark() definition is wrong
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
currently, this function's body says something like:
return ioctl(fd, SIOCATMARK);
For Linux, this needs to be something like
int arg, s;
s = ioctl(fd, SIOCATMARK, &arg);
if (s == -1)
return -1;
return arg;
Cheers,
Michael
--
Summary: sockatmark() definition is wrong
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: michael dot kerrisk at gmx dot net
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1010
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.