linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 10356] New: glibc 2.7 notes for eventfd(2)
@ 2008-03-29 15:46 bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
       [not found] ` <bug-10356-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
  0 siblings, 1 reply; 2+ messages in thread
From: bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2008-03-29 15:46 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=10356

           Summary: glibc 2.7 notes for eventfd(2)
           Product: Documentation
           Version: unspecified
     KernelVersion: n/a
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: man-pages
        AssignedTo: documentation_man-pages-ztI5WcYan/vQLgFONoPN62D2FQJk+8+b@public.gmane.org
        ReportedBy: mrsam-W1w4QoW4mIDgLSHwZvcCBg@public.gmane.org


I tested this, and it works:

--- /home/mrsam/src/man-pages/sources/manpages/man-pages-2.79/man2/eventfd.2   
2008-03-03 08:25:44.000000000 -0500
+++ ./eventfd.2 2008-03-29 11:42:24.000000000 -0400
@@ -204,8 +204,28 @@
 .SH VERSIONS
 .BR eventfd ()
 is available on Linux since kernel 2.6.22.
-Working support is provided in glibc since version 2.8.
+Working support is provided in glibc since version 2.8,
 .\" eventfd() is in glibc 2.7, but reportedly does not build
+but it's possible to create an event file descriptor with glibc 2.7 using
+.BR syscall (2):
+.RS
+.nf
+
+#include <sys/syscall.h>
+#include <unistd.h>
+
+...
+
+int efd=syscall(SYS_eventfd, 0, 0);
+
+.fi
+.RE
+Then use
+.BR read (2)
+and
+.BR write (2)
+with this file descriptor.
+This works as long as glibc 2.7 itself was built on kernel 2.6.22, or later.
 .SH CONFORMING TO
 .BR eventfd ()
 is Linux-specific.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 10356] [PATCH]glibc 2.7 notes for eventfd(2)
       [not found] ` <bug-10356-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
@ 2010-01-19 17:14   ` bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r @ 2010-01-19 17:14 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

http://bugzilla.kernel.org/show_bug.cgi?id=10356


Alan <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org
         Regression|---                         |No
            Summary|glibc 2.7 notes for         |[PATCH]glibc 2.7 notes for
                   |eventfd(2)                  |eventfd(2)




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-19 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-29 15:46 [Bug 10356] New: glibc 2.7 notes for eventfd(2) bugme-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r
     [not found] ` <bug-10356-11311-V0hAGp6uBxO456/isadD/XN4h3HLQggn@public.gmane.org/>
2010-01-19 17:14   ` [Bug 10356] [PATCH]glibc " bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).