shithub: riscv

Download patch

ref: 72a168b5fb1d3b40bf6c8051d06d7237f27a7d2b
parent: 3bd0d66686f475d5cbd77bfa7efa16c29ae69292
author: ftrvxmtrx <[email protected]>
date: Tue Jun 9 07:54:22 EDT 2015

event(2): fix estartfn prototype

--- a/sys/man/2/event
+++ b/sys/man/2/event
@@ -44,9 +44,9 @@
 ulong	estart(ulong key, int fd, int n)
 .PP
 .B
-ulong	estartfn(int id, ulong key, int fd, int n,
+ulong	estartfn(ulong key, int fd, int n,
 .B
-		    int (*fn)(Event*, uchar*, int))
+		    int (*fn)(int, Event*, uchar*, int))
 .PP
 .B
 ulong	etimer(ulong key, int n)